public class ManagedConcurrentValueMap<K,V> extends Object
ManagedConcurrentHashMap in groovy-core.| Constructor and Description |
|---|
ManagedConcurrentValueMap(ReferenceBundle bundle) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
V |
get(K key)
Returns the value stored for the given key at the point of call.
|
void |
put(K key,
V value)
Sets a new value for a given key.
|
void |
setBundle(ReferenceBundle bundle)
Sets a new bundle used for reference creation.
|
public ManagedConcurrentValueMap(ReferenceBundle bundle)
public void setBundle(ReferenceBundle bundle)
bundle - - the ReferenceBundlepublic V get(K key)
key - a non null keypublic void put(K key, V value)
key - a non null keyvalue - the new valuepublic void clear()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.