public abstract class BusPacket<T> extends Resource
| Modifier | Constructor and Description |
|---|---|
protected |
BusPacket()
default constructor
|
protected |
BusPacket(OperationID operationID,
IEntryHolder entryHolder,
ServerTransaction xtn,
long timeout)
Creates a new BusPacket object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Cleans the resource of its contents so it can be returned to the pool.
|
void |
constructBusPacket(OperationID operationID,
IEntryHolder entryHolder,
ServerTransaction xtn,
long timeout)
Constructs a BusPacket.
|
abstract void |
execute(T executor) |
long |
getCreationTime() |
IEntryHolder |
getEntryHolder() |
OperationID |
getOperationID() |
long |
getTimeout() |
ServerTransaction |
getTransaction() |
protected void |
setOperationID(OperationID operationID) |
acquire, isAcquired, isFromPool, release, setAcquired, setFromPoolprotected BusPacket()
protected BusPacket(OperationID operationID, IEntryHolder entryHolder, ServerTransaction xtn, long timeout)
public void constructBusPacket(OperationID operationID, IEntryHolder entryHolder, ServerTransaction xtn, long timeout)
public OperationID getOperationID()
protected void setOperationID(OperationID operationID)
public long getCreationTime()
public void clear()
IResource You may use the
IResource.isFromPool() indication to decide of a special action before returning a resource to
the pool, or discard any actions on resources not returning to the pool.
clear in interface IResourceclear in class ResourceIResource.release()public ServerTransaction getTransaction()
public long getTimeout()
public IEntryHolder getEntryHolder()
Copyright © GigaSpaces.