public class SpaceDataEventManager extends Object implements ISpaceModeListener
| Constructor and Description | 
|---|
| SpaceDataEventManager(IDirectSpaceProxy spaceProxy,
                     FilterManager filterManager,
                     SpaceImpl spaceImpl,
                     SpaceConfigReader configReader) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterSpaceModeChange(SpaceMode newMode)Called right after the space mode changes. | 
| void | beforeSpaceModeChange(SpaceMode newMode)Called right before the space mode changes. Implementors usually use it to allow specific service initializations. | 
| void | close() | 
| void | executePacket(RemoteEventBusPacket re,
             NotifyTemplateHolder th) | 
| void | finishTemplatesSearch(NotifyContext notifyContext)Called when the matching search is over | 
| long | generateEventId() | 
| int | getQueueSize() | 
| void | init(boolean isReplicated,
    IReplicationNode replicationNode) | 
| void | notifyReturned(NotifyContext notifyContext,
              ITemplateHolder template)Called when a notification returned | 
| void | notifyTemplate(NotifyTemplateHolder template,
              IEntryHolder entry,
              IEntryHolder oldEntry,
              NotifyContext notifyContext,
              Context ctx)Notifies a notification template with the specified remote event Notification is done
 asynchronously, by sending a bus packet to the Notifier. | 
| void | setLeaseManager(LeaseManager leaseManager) | 
public SpaceDataEventManager(IDirectSpaceProxy spaceProxy, FilterManager filterManager, SpaceImpl spaceImpl, SpaceConfigReader configReader)
public void init(boolean isReplicated,
                 IReplicationNode replicationNode)
public void setLeaseManager(LeaseManager leaseManager)
public void close()
public void notifyReturned(NotifyContext notifyContext, ITemplateHolder template)
notifyContext - current notify status checkedtemplate - the current template to filterpublic void finishTemplatesSearch(NotifyContext notifyContext)
notifyContext - current notify status checkedtemplate - the current template to filterpublic void afterSpaceModeChange(SpaceMode newMode) throws RemoteException
ISpaceModeListenerafterSpaceModeChange in interface ISpaceModeListenernewMode - the new mode change after it was published.RemoteException - if an exception occurred during execution of a remote call.public void beforeSpaceModeChange(SpaceMode newMode) throws RemoteException
ISpaceModeListenerbeforeSpaceModeChange in interface ISpaceModeListenernewMode - the new mode change before it's published.RemoteException - if an exception occurred during execution of a remote call.public long generateEventId()
public int getQueueSize()
public void executePacket(RemoteEventBusPacket re, NotifyTemplateHolder th) throws RemoteException, UnknownEventException
RemoteExceptionUnknownEventExceptionpublic void notifyTemplate(NotifyTemplateHolder template, IEntryHolder entry, IEntryHolder oldEntry, NotifyContext notifyContext, Context ctx)
Copyright © GigaSpaces.