public static interface NamespaceBehaviour.NamespaceStorageNode
Modifier and Type | Method and Description |
---|---|
<K,V,N extends IdentifierNamespace<K,V>> |
getAllFromLocalStorage(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
getFromLocalStorage(Class<N> type,
K key) |
@Nullable NamespaceBehaviour.NamespaceStorageNode |
getParentNamespaceStorage() |
NamespaceBehaviour.StorageNodeType |
getStorageNodeType()
Return local namespace behaviour type.
|
<K,V,N extends IdentifierNamespace<K,V>> |
putToLocalStorage(Class<N> type,
K key,
V value)
Populate specified namespace with a key/value pair, overwriting previous contents.
|
<K,V,N extends IdentifierNamespace<K,V>> |
putToLocalStorageIfAbsent(Class<N> type,
K key,
V value)
Populate specified namespace with a key/value pair unless the key is already associated with a value.
|
NamespaceBehaviour.StorageNodeType getStorageNodeType()
NamespaceBehaviour
@Nullable NamespaceBehaviour.NamespaceStorageNode getParentNamespaceStorage()
<K,V,N extends IdentifierNamespace<K,V>> V getFromLocalStorage(Class<N> type, K key)
<K,V,N extends IdentifierNamespace<K,V>> @Nullable Map<K,V> getAllFromLocalStorage(Class<N> type)
<K,V,N extends IdentifierNamespace<K,V>> V putToLocalStorage(Class<N> type, K key, V value)
Map.put(Object, Object)
.type
- Namespace identifierkey
- Keyvalue
- Value<K,V,N extends IdentifierNamespace<K,V>> V putToLocalStorageIfAbsent(Class<N> type, K key, V value)
Map.putIfAbsent(Object, Object)
.type
- Namespace identifierkey
- Keyvalue
- ValueCopyright © 2019 OpenDaylight. All rights reserved.