Class WeightedRoundRobinRouting
java.lang.Object
common.routingStrategies.RoutingStrategy
common.routingStrategies.WeightedRoundRobinRouting
Weighted Round Robin Routing strategy of the JMT routing strategies.
-
Field Summary
Fields inherited from class RoutingStrategy
all, allForSource, description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStation(Object stationKey) clone()getName()booleanReturns true if the routing strategy is dependent on the state of the modelvoidremoveStation(Object stationKey) voidsetWeights(Map<Object, Integer> weights) Methods inherited from class RoutingStrategy
equals, findAll, findAllForSource, getDescription, toString
-
Constructor Details
-
WeightedRoundRobinRouting
public WeightedRoundRobinRouting()
-
-
Method Details
-
getName
- Specified by:
getNamein classRoutingStrategy
-
clone
- Specified by:
clonein classRoutingStrategy
-
getClassPath
- Specified by:
getClassPathin classRoutingStrategy
-
isModelStateDependent
public boolean isModelStateDependent()Description copied from class:RoutingStrategyReturns true if the routing strategy is dependent on the state of the model- Specified by:
isModelStateDependentin classRoutingStrategy- Returns:
- true if the routing strategy is dependent on the state of the model Author: Francesco D'Aquino
-
addStation
- Specified by:
addStationin classRoutingStrategy
-
removeStation
- Specified by:
removeStationin classRoutingStrategy
-
setWeights
-
getWeights
-