public class StreamerRoundRobinEventRouter extends StreamerEventRouterAdapter
Constructor and Description |
---|
StreamerRoundRobinEventRouter() |
Modifier and Type | Method and Description |
---|---|
ClusterNode |
route(StreamerContext ctx,
String stageName,
Object evt)
Selects a node for given event that should be processed by a stage with given name.
|
route
public ClusterNode route(StreamerContext ctx, String stageName, Object 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.
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015