com.atlassian.user.util
Class GenericCacheWrapper<K,V>
java.lang.Object
com.atlassian.user.util.GenericCacheWrapper<K,V>
public class GenericCacheWrapper<K,V>
- extends Object
Cheat to allow us to treat caches as if they have been genericised. As of now, atlassian-cache hasn't been
made generic for backwards compatibility reasons.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericCacheWrapper
public GenericCacheWrapper(com.atlassian.cache.Cache cache)
getName
public String getName()
getKeys
public Collection<K> getKeys()
get
public V get(K key)
put
public void put(K key,
V value)
remove
public void remove(K key)
removeAll
public void removeAll()
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.