public class OneToOneEdgeManager extends EdgeManagerPlugin
| Constructor and Description |
|---|
OneToOneEdgeManager(EdgeManagerPluginContext context) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumDestinationConsumerTasks(int sourceTaskIndex) |
int |
getNumDestinationTaskPhysicalInputs(int destinationTaskIndex) |
int |
getNumSourceTaskPhysicalOutputs(int sourceTaskIndex) |
void |
initialize() |
void |
routeDataMovementEventToDestination(DataMovementEvent event,
int sourceTaskIndex,
int sourceOutputIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices) |
int |
routeInputErrorEventToSource(InputReadErrorEvent event,
int destinationTaskIndex,
int destinationFailedInputIndex) |
void |
routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices) |
getContextpublic OneToOneEdgeManager(EdgeManagerPluginContext context)
public void initialize()
initialize in class EdgeManagerPluginpublic int getNumDestinationTaskPhysicalInputs(int destinationTaskIndex)
getNumDestinationTaskPhysicalInputs in class EdgeManagerPluginpublic int getNumSourceTaskPhysicalOutputs(int sourceTaskIndex)
getNumSourceTaskPhysicalOutputs in class EdgeManagerPluginpublic void routeDataMovementEventToDestination(DataMovementEvent event, int sourceTaskIndex, int sourceOutputIndex, Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeDataMovementEventToDestination in class EdgeManagerPluginpublic void routeInputSourceTaskFailedEventToDestination(int sourceTaskIndex,
Map<Integer,List<Integer>> destinationTaskAndInputIndices)
routeInputSourceTaskFailedEventToDestination in class EdgeManagerPluginpublic int routeInputErrorEventToSource(InputReadErrorEvent event, int destinationTaskIndex, int destinationFailedInputIndex)
routeInputErrorEventToSource in class EdgeManagerPluginpublic int getNumDestinationConsumerTasks(int sourceTaskIndex)
getNumDestinationConsumerTasks in class EdgeManagerPluginCopyright © 2021 Apache Software Foundation. All rights reserved.