com.servingxml.io.cache
Class SimpleCache
java.lang.Object
com.servingxml.io.cache.SimpleCache
- All Implemented Interfaces:
- Cache, CacheDictionary
public class SimpleCache
- extends java.lang.Object
- implements Cache, CacheDictionary
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCache
public SimpleCache()
get
public java.lang.Object get(Key key)
- Specified by:
get
in interface Cache
add
public void add(Key key,
java.lang.Object data,
Expirable expirable,
RevalidationType revalidationType)
- Specified by:
add
in interface Cache
remove
public CacheEntry remove(java.lang.Object key)
- Specified by:
remove
in interface CacheDictionary
get
public CacheEntry get(java.lang.Object key)
- Specified by:
get
in interface CacheDictionary
add
public CacheEntry add(java.lang.Object key,
CacheEntry entry)
- Specified by:
add
in interface CacheDictionary