Class RoutingStrategy
java.lang.Object
common.routingStrategies.RoutingStrategy
- Direct Known Subclasses:
ClassSwitchRouting, DisabledRouting, FastestServiceRouting, LeastUtilizationRouting, LoadDependentRouting, PowerOfKRouting, ProbabilityRouting, RandomRouting, RoundRobinRouting, ShortestQueueLengthRouting, ShortestResponseTimeRouting, WeightedRoundRobinRouting
Created by IntelliJ IDEA.
User: orsotronIII
Date: 6-lug-2005
Time: 16.29.02
To change this template use Options | File Templates.
Modified by Bertoli Marco
Modified by Francesco D'Aquino
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static RoutingStrategy[]protected static RoutingStrategy[]protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddStation(Object stationKey) abstract RoutingStrategyclone()booleanstatic RoutingStrategy[]findAll()Return an array with an instance of every allowed Routing Strategy.static RoutingStrategy[]abstract Stringabstract StringgetName()abstract booleanReturns true if the routing strategy is dependent on the state of the modelabstract voidremoveStation(Object stationKey) toString()
-
Field Details
-
all
-
allForSource
-
description
-
-
Constructor Details
-
RoutingStrategy
public RoutingStrategy()
-
-
Method Details
-
getName
-
getDescription
-
toString
-
clone
-
equals
-
getClassPath
-
findAll
Return an array with an instance of every allowed Routing Strategy. Uses Reflection onJMODELConstantsfield to find all strategies and uses internal caching to search for strategies only the first time that this method is called.
Author: Bertoli Marco- Returns:
- an array with an instance of every allowed RoutingStrategy
-
findAllForSource
-
isModelStateDependent
public abstract boolean isModelStateDependent()Returns true if the routing strategy is dependent on the state of the model- Returns:
- true if the routing strategy is dependent on the state of the model Author: Francesco D'Aquino
-
addStation
-
removeStation
-