public interface CacheManagement extends Cache
Cache.| Modifier and Type | Method and Description |
|---|---|
long |
getSize()
Returns this cache size (approximate number of entries), or
-1 if the number of entries is unknown or too
expensive to compute. |
void |
invalidateLocal(String key)
Invalidates the given key locally.
|
void |
invalidateLocalAll()
Invalidates all keys locally.
|
void |
putLocal(String key,
Serializable value)
Stores a
Serializable value into the cache locally. |
void |
start()
Starts this cache.
|
void |
stop()
Stops this cache and releases related resources.
|
get, getName, hasEntry, invalidate, invalidateAll, keySet, putvoid start()
void stop()
long getSize()
-1 if the number of entries is unknown or too
expensive to compute.-1void putLocal(String key, Serializable value)
Serializable value into the cache locally. Does not propagate invalidations.key - the keyvalue - the valuevoid invalidateLocal(String key)
key - the key to remove from the cachevoid invalidateLocalAll()
Copyright © 2018 Nuxeo. All rights reserved.