public interface GridStreamerEx extends GridStreamer
| Modifier and Type | Method and Description |
|---|---|
GridStreamerEventRouter |
eventRouter() |
GridKernalContext |
kernalContext() |
void |
onFutureCompleted(GridStreamerStageExecutionFuture fut)
Called when future is completed and parent should be notified, if any.
|
void |
onFutureMapped(GridStreamerStageExecutionFuture fut)
Called before execution requests are sent to remote nodes or scheduled for local execution.
|
void |
onQueryCompleted(long time,
int nodes)
Callback executed when streamer query completes.
|
void |
onUndeploy(UUID leftNodeId,
ClassLoader undeployedLdr)
Callback for undeployed class loaders.
|
void |
scheduleExecutions(GridStreamerStageExecutionFuture fut,
Map<UUID,GridStreamerExecutionBatch> execs)
Schedules batch executions either on local or on remote nodes.
|
<E> GridStreamerWindow<E> |
window()
Gets streamer default window (the first one in configuration list).
|
<E> GridStreamerWindow<E> |
window(String windowName)
Gets streamer window by window name.
|
addEvent, addEvents, addEventsToStage, addEventToStage, addStreamerFailureListener, configuration, context, deployClass, metrics, name, removeStreamerFailureListener, reset, resetMetricsGridKernalContext kernalContext()
<E> GridStreamerWindow<E> window()
@Nullable <E> GridStreamerWindow<E> window(String windowName)
windowName - Window name.void onFutureMapped(GridStreamerStageExecutionFuture fut)
fut - Future.void onFutureCompleted(GridStreamerStageExecutionFuture fut)
fut - Future.GridStreamerEventRouter eventRouter()
void scheduleExecutions(GridStreamerStageExecutionFuture fut, Map<UUID,GridStreamerExecutionBatch> execs) throws GridException
fut - Future.execs - Executions grouped by node ID.GridException - If failed.void onUndeploy(UUID leftNodeId, ClassLoader undeployedLdr)
leftNodeId - Left node ID which caused undeployment.undeployedLdr - Undeployed class loader.void onQueryCompleted(long time,
int nodes)
time - Consumed time.nodes - Participating nodes count.Copyright © 2014. All rights reserved.