public class RemoteEventBusPacket extends BusPacket<SpaceDataEventDispatcher>
Constructor and Description |
---|
RemoteEventBusPacket(ITemplateHolder templateHolder,
RemoteEvent re,
int TTL,
NotifyContext notifyContext,
boolean fromReplication)
Construct a mobile remote event instance, by instantiating a bus packet and attaching it a
remote event.
|
Modifier and Type | Method and Description |
---|---|
void |
afterBatching() |
void |
execute(SpaceDataEventDispatcher dispatcher) |
RemoteEvent |
getRemoteEvent() |
NotifyContext |
getStatus() |
int |
getTTL() |
boolean |
isAfterBatching() |
boolean |
isFromReplication() |
void |
notifyListener()
Send notification to the client
|
void |
setTTL(int tTL) |
clear, constructBusPacket, getCreationTime, getEntryHolder, getOperationID, getTimeout, getTransaction, setOperationID
acquire, isAcquired, isFromPool, release, setAcquired, setFromPool
public RemoteEventBusPacket(ITemplateHolder templateHolder, RemoteEvent re, int TTL, NotifyContext notifyContext, boolean fromReplication)
public void afterBatching()
public boolean isAfterBatching()
public RemoteEvent getRemoteEvent()
public void setTTL(int tTL)
tTL
- the tTL to setpublic int getTTL()
public NotifyContext getStatus()
public void execute(SpaceDataEventDispatcher dispatcher) throws Exception
execute
in class BusPacket<SpaceDataEventDispatcher>
Exception
public void notifyListener() throws RemoteException, UnknownEventException
RemoteException
UnknownEventException
public boolean isFromReplication()
Copyright © GigaSpaces.