public interface EntityOwnerSelectionStrategy
Modifier and Type | Method and Description |
---|---|
long |
getSelectionDelayInMillis()
Returns the time in millis owner selection should be delayed.
|
String |
newOwner(String currentOwner,
Collection<String> viableCandidates)
Selects a new owner from the list of viable candidates.
|
long getSelectionDelayInMillis()
String newOwner(@Nullable String currentOwner, Collection<String> viableCandidates)
currentOwner
- the current owner of the entity if any, null otherwiseviableCandidates
- the available candidates from which to choose the new ownerCopyright © 2019 OpenDaylight. All rights reserved.