public class CacheAttributesChecker extends AbstractCache
Modifier and Type | Method and Description |
---|---|
Serializable |
get(String key)
Get method to retrieve value from cache Must not raise exception if the
key is null, but return null
|
Cache |
getCache() |
void |
invalidate(String key)
Invalidate the given key
|
void |
invalidateAll()
Invalidate all key-value stored in the cache
|
void |
put(String key,
Serializable value)
Put method to store a
Serializable value |
getName
public Cache getCache()
public Serializable get(String key) throws IOException
Cache
key
- the string keySerializable
value, return null if the key does not
exist or if the key is nullIOException
public void invalidate(String key) throws IOException
Cache
IOException
public void invalidateAll() throws IOException
Cache
IOException
public void put(String key, Serializable value) throws IOException
Cache
Serializable
valuekey
- the string key, if null, the value will not be storedvalue
- the value to store, if null, the value will not be storedIOException
Copyright © 2014 Nuxeo SA. All rights reserved.