public interface GridContinuousHandler extends Externalizable, Cloneable
| Modifier and Type | Interface and Description |
|---|---|
static class |
GridContinuousHandler.RegisterStatus
Listener registration status.
|
| Modifier and Type | Method and Description |
|---|---|
String |
cacheName() |
GridContinuousHandler |
clone()
Clones this handler.
|
boolean |
isForEvents() |
boolean |
isForMessaging() |
boolean |
isForQuery() |
void |
notifyCallback(UUID nodeId,
UUID routineId,
Collection<?> objs,
GridKernalContext ctx)
Notifies local callback.
|
void |
onListenerRegistered(UUID routineId,
GridKernalContext ctx)
Callback called after listener is registered and acknowledgement is sent.
|
Object |
orderedTopic() |
void |
p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
GridContinuousHandler.RegisterStatus |
register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
void |
unregister(UUID routineId,
GridKernalContext ctx)
Unregisters listener.
|
readExternal, writeExternalGridContinuousHandler.RegisterStatus register(UUID nodeId, UUID routineId, GridKernalContext ctx) throws IgniteCheckedException
nodeId - ID of the node that started routine.routineId - Routine ID.ctx - Kernal context.IgniteCheckedException - In case of error.void onListenerRegistered(UUID routineId, GridKernalContext ctx)
routineId - Routine ID.ctx - Kernal context.void unregister(UUID routineId, GridKernalContext ctx)
routineId - Routine ID.ctx - Kernal context.void notifyCallback(UUID nodeId, UUID routineId, Collection<?> objs, GridKernalContext ctx)
nodeId - ID of the node where notification came from.routineId - Routine ID.objs - Notification objects.ctx - Kernal context.void p2pMarshal(GridKernalContext ctx) throws IgniteCheckedException
ctx - Kernal context.IgniteCheckedException - In case of error.void p2pUnmarshal(UUID nodeId, GridKernalContext ctx) throws IgniteCheckedException
nodeId - Sender node ID.ctx - Kernal context.IgniteCheckedException - In case of error.@Nullable Object orderedTopic()
null, notifications
will be sent in non-ordered messages.GridContinuousHandler clone()
boolean isForEvents()
True if for events.boolean isForMessaging()
True if for messaging.boolean isForQuery()
True if for continuous queries.String cacheName()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015