public class ScatterGatherEdgeManager extends EdgeManagerPluginOnDemand
EdgeManagerPluginOnDemand.CompositeEventRouteMetadata, EdgeManagerPluginOnDemand.EventRouteMetadata| Constructor and Description |
|---|
ScatterGatherEdgeManager(EdgeManagerPluginContext context) |
getContextpublic ScatterGatherEdgeManager(EdgeManagerPluginContext context)
public void initialize()
initialize in class EdgeManagerPluginOnDemandpublic int getNumDestinationTaskPhysicalInputs(int destinationTaskIndex)
getNumDestinationTaskPhysicalInputs in class EdgeManagerPluginOnDemandpublic int getNumSourceTaskPhysicalOutputs(int sourceTaskIndex)
getNumSourceTaskPhysicalOutputs in class EdgeManagerPluginOnDemandpublic void prepareForRouting()
throws Exception
prepareForRouting in class EdgeManagerPluginOnDemandExceptionpublic EdgeManagerPluginOnDemand.EventRouteMetadata routeDataMovementEventToDestination(int sourceTaskIndex, int sourceOutputIndex, int destinationTaskIndex) throws Exception
routeDataMovementEventToDestination in class EdgeManagerPluginOnDemandException@Nullable public EdgeManagerPluginOnDemand.CompositeEventRouteMetadata routeCompositeDataMovementEventToDestination(int sourceTaskIndex, int destinationTaskIndex) throws Exception
routeCompositeDataMovementEventToDestination in class EdgeManagerPluginOnDemandExceptionpublic EdgeManagerPluginOnDemand.EventRouteMetadata routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex, int destinationTaskIndex) throws Exception
routeInputSourceTaskFailedEventToDestination in class EdgeManagerPluginOnDemandExceptionpublic void routeDataMovementEventToDestination(DataMovementEvent event, int sourceTaskIndex, int sourceOutputIndex, Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeDataMovementEventToDestination in class EdgeManagerPluginOnDemandpublic void routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeInputSourceTaskFailedEventToDestination in class EdgeManagerPluginOnDemandpublic int routeInputErrorEventToSource(InputReadErrorEvent event, int destinationTaskIndex, int destinationFailedInputIndex)
routeInputErrorEventToSource in class EdgeManagerPluginOnDemandpublic int routeInputErrorEventToSource(int destinationTaskIndex,
int destinationFailedInputIndex)
routeInputErrorEventToSource in class EdgeManagerPluginOnDemandpublic int getNumDestinationConsumerTasks(int sourceTaskIndex)
getNumDestinationConsumerTasks in class EdgeManagerPluginOnDemandCopyright © 2021 Apache Software Foundation. All rights reserved.