public class GridStreamerRoundRobinEventRouter extends GridStreamerEventRouterAdapter
| Constructor and Description |
|---|
GridStreamerRoundRobinEventRouter() |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
route(GridStreamerContext ctx,
String stageName,
Object evt)
Selects a node for given event that should be processed by a stage with given name.
|
routepublic GridNode route(GridStreamerContext 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.Copyright © 2014. All rights reserved.