public final class CacheManagerImpl extends Object implements CacheManager, SimpleDefinitionProvider
| Constructor and Description |
|---|
CacheManagerImpl(CachePlugin cachePlugin)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear(String context) |
void |
clearAll() |
Object |
get(String context,
Serializable key) |
List<? extends Definition> |
provideDefinitions(DefinitionSpace definitionSpace) |
void |
put(String context,
Serializable key,
Object value) |
boolean |
remove(String context,
Serializable key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetaddDefinitionResourceConfig@Inject public CacheManagerImpl(CachePlugin cachePlugin)
cachePlugin - Plugin de gestion du cachepublic List<? extends Definition> provideDefinitions(DefinitionSpace definitionSpace)
provideDefinitions in interface SimpleDefinitionProviderpublic void put(String context, Serializable key, Object value)
put in interface CacheManagerpublic Object get(String context, Serializable key)
get in interface CacheManagerpublic boolean remove(String context, Serializable key)
remove in interface CacheManagerpublic void clear(String context)
clear in interface CacheManagerpublic void clearAll()
clearAll in interface CacheManagerCopyright © 2018. All Rights Reserved.