public abstract class StreamerEventRouterAdapter extends Object implements StreamerEventRouter
| Constructor and Description |
|---|
StreamerEventRouterAdapter() |
| Modifier and Type | Method and Description |
|---|---|
<T> Map<ClusterNode,Collection<T>> |
route(StreamerContext ctx,
String stageName,
Collection<T> evts)
Selects a node for given events that should be processed by a stage with given name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitroutepublic <T> Map<ClusterNode,Collection<T>> route(StreamerContext ctx, String stageName, Collection<T> evts)
route in interface StreamerEventRouterctx - 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.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015