public abstract class Cache extends Object
Constructor and Description |
---|
Cache() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Closes the cache.
|
abstract boolean |
containsKey(Object key)
Returns whether the given key is in this cache.
|
abstract Object |
get(Object key)
Returns the value for the given key.
|
abstract void |
put(Object key,
Object value)
Puts a (key, value)-pair into the cache.
|
static Cache |
synchronizedCache(Cache cache)
Returns a thread-safe cache backed by the specified cache.
|
public static Cache synchronizedCache(Cache cache)
public abstract boolean containsKey(Object key)
public abstract void close()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.