public interface GridContinuousHandler extends Externalizable
| Modifier and Type | Method and Description |
|---|---|
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).
|
boolean |
register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
void |
unregister(UUID routineId,
GridKernalContext ctx)
Unregisters listener.
|
readExternal, writeExternalboolean register(UUID nodeId, UUID routineId, GridKernalContext ctx) throws GridException
nodeId - ID of the node that started routine.routineId - Routine ID.ctx - Kernal context.GridException - 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 GridException
ctx - Kernal context.GridException - In case of error.void p2pUnmarshal(UUID nodeId, GridKernalContext ctx) throws GridException
nodeId - Sender node ID.ctx - Kernal context.GridException - In case of error.Copyright © 2014. All rights reserved.