public interface GridStreamerEventRouter
| Modifier and Type | Method and Description |
|---|---|
<T> Map<GridNode,Collection<T>> |
route(GridStreamerContext ctx,
String stageName,
Collection<T> evts)
Selects a node for given events that should be processed by a stage with given name.
|
<T> GridNode |
route(GridStreamerContext ctx,
String stageName,
T evt)
Selects a node for given event that should be processed by a stage with given name.
|
@Nullable <T> GridNode route(GridStreamerContext ctx, String stageName, T evt)
ctx - Streamer context.stageName - Stage name.evt - Event to route.null then the whole pipeline execution
will be terminated. All running and ongoing stages for pipeline execution will be
cancelled.@Nullable <T> Map<GridNode,Collection<T>> route(GridStreamerContext ctx, String stageName, Collection<T> evts)
ctx - Streamer context.stageName - Stage name to route events.evts - Events.null then the whole pipeline execution
will be terminated. All running and ongoing stages for pipeline execution will be
cancelled.
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014