public interface ContentCache<K>
| Modifier and Type | Method and Description |
|---|---|
K |
get(String key)
Gets content stored in the cache
|
void |
invalidate()
Invalidates the cache
|
void |
put(String key,
K obj)
Places content into the cache (with default timeout)
|
void |
put(String key,
K obj,
long timeout)
Places content into the cache
|
void |
remove(String key)
Removes a content object from the cache.
|
void put(String key, K obj)
key - the keyobj - the objvoid put(String key, K obj, long timeout)
key - the keyobj - the objtimeout - the timeout in millisecondsvoid remove(String key)
key - the keyvoid invalidate()
Copyright © 2005–2016 Alfresco Software. All rights reserved.