JBoss MetaData Repository 2.2.0.SP1
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
clear()
Clear node.
|
static <K,V> Cache<K,V> |
emptyCache() |
V |
get(K key)
Get value under key.
|
V |
put(K key,
V value)
Put value under key.
|
V |
remove(K key)
Remove value under key.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
get
public V get(K key)
Description copied from interface: Cache
Get value under key.
- Specified by:
get
in interface Cache<K,V>
- Parameters:
key
- the key
- Returns:
- old value if exists
-
remove
public V remove(K key)
Description copied from interface: Cache
Remove value under key.
- Specified by:
remove
in interface Cache<K,V>
- Parameters:
key
- the key
- Returns:
- removed value
-
clear
public void clear()
Description copied from interface: Cache
Clear node.
- Specified by:
clear
in interface Cache<K,V>
JBoss MetaData Repository 2.2.0.SP1
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.