Class MultiRegistry<K,V>
java.lang.Object
org.opendaylight.protocol.concepts.MultiRegistry<K,V>
- Type Parameters:
K
- key typeV
- value type
A registry which allows multiple values for a particular key. One of those is considered the best and returned as the
representative.
When selecting the candidate, we evaluate the order of insertion, picking the value inserted first, but then we look
at all the other candidates and if there is one which is a subclass of the first one, we select that one.
This class is thread-safe.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MultiRegistry
public MultiRegistry()
-
-
Method Details
-
register
-
get
-
getAllValues
-