public abstract class GridStreamerEventRouterAdapter extends Object implements GridStreamerEventRouter
| Constructor and Description |
|---|
GridStreamerEventRouterAdapter() |
| 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitroutepublic <T> Map<GridNode,Collection<T>> route(GridStreamerContext ctx, String stageName, Collection<T> evts)
route in interface GridStreamerEventRouterctx - 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.Copyright © 2014. All rights reserved.