public class EntryArrivedPacketsFactory extends Object implements IResourceFactory<EntryArrivedPacket>
Constructor and Description |
---|
EntryArrivedPacketsFactory() |
Modifier and Type | Method and Description |
---|---|
EntryArrivedPacket |
allocate()
Allocates a new resource instance.
|
void |
freePacket(EntryArrivedPacket resource)
Returns this packet to the pool as a free resource.
|
EntryArrivedPacket |
getPacket(OperationID operationID,
IEntryHolder entryHolder,
ServerTransaction xtn,
boolean notifyListeners,
IEntryHolder entryValueToNotify,
boolean fromReplication)
returns a constructed EntryArrivedPacket extracted from the pool of resources.
|
public EntryArrivedPacket allocate()
IResourceFactory
allocate
in interface IResourceFactory<EntryArrivedPacket>
IResource
public EntryArrivedPacket getPacket(OperationID operationID, IEntryHolder entryHolder, ServerTransaction xtn, boolean notifyListeners, IEntryHolder entryValueToNotify, boolean fromReplication)
public void freePacket(EntryArrivedPacket resource)
Resource.release()
resource
- the EntryArrivedPacket to be freed.Copyright © GigaSpaces.