Class AbstractEntityOwnerSelectionStrategy
- java.lang.Object
-
- org.opendaylight.controller.cluster.entityownership.selectionstrategy.AbstractEntityOwnerSelectionStrategy
-
- All Implemented Interfaces:
EntityOwnerSelectionStrategy
- Direct Known Subclasses:
FirstCandidateSelectionStrategy,LeastLoadedCandidateSelectionStrategy
public abstract class AbstractEntityOwnerSelectionStrategy extends Object implements EntityOwnerSelectionStrategy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEntityOwnerSelectionStrategy(long selectionDelayInMillis, Map<String,Long> initialStatistics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Long>getInitialStatistics()longgetSelectionDelayInMillis()Returns the time in millis owner selection should be delayed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.controller.cluster.entityownership.selectionstrategy.EntityOwnerSelectionStrategy
newOwner
-
-
-
-
Method Detail
-
getSelectionDelayInMillis
public long getSelectionDelayInMillis()
Description copied from interface:EntityOwnerSelectionStrategyReturns the time in millis owner selection should be delayed.- Specified by:
getSelectionDelayInMillisin interfaceEntityOwnerSelectionStrategy- Returns:
- the time in millis owner selection should be delayed
-
-