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) |
NamespaceBehaviour.NamespaceStorageNode |
getParentNamespaceStorage() |
NamespaceBehaviour.StorageNodeType |
getStorageNodeType() |
<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()
@Nullable <K,V,N extends IdentifierNamespace<K,V>> V getFromLocalStorage(Class<N> type, K key)
@Nullable <K,V,N extends IdentifierNamespace<K,V>> Map<K,V> getAllFromLocalStorage(Class<N> type)
@Nullable <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@Nullable <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 © 2018 OpenDaylight. All rights reserved.