Class PowerOfKRouting
java.lang.Object
common.routingStrategies.RoutingStrategy
common.routingStrategies.PowerOfKRouting
Power of K Routing Strategy
- Author:
- Vaibhav Krishnakumar
-
Field Summary
Fields inherited from class RoutingStrategy
all, allForSource, description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStation(Object stationKey) clone()getK()getName()booleanReturns true if the routing strategy is dependent on the state of the modelvoidremoveStation(Object stationKey) voidvoidsetWithMemory(Boolean withMemory) Methods inherited from class RoutingStrategy
equals, findAll, findAllForSource, getDescription, toString
-
Constructor Details
-
PowerOfKRouting
public PowerOfKRouting()
-
-
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
-
getK
-
setK
-
isWithMemory
-
setWithMemory
-