public class JCRCacheHandler
extends org.exoplatform.services.organization.CacheHandler
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
| Constructor and Description |
|---|
JCRCacheHandler(org.exoplatform.services.cache.CacheService cservice,
JCROrganizationServiceImpl jcrOrganizationServiceImpl,
boolean enabled)
JCRCacheHandler constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Serializable |
createCacheKey(Serializable orgServiceKey) |
protected Serializable |
createOrgServiceKey(Serializable cacheKey) |
Object |
get(Serializable key,
org.exoplatform.services.organization.CacheHandler.CacheType cacheType) |
protected boolean |
matchKey(Serializable cacheKey) |
void |
move(Serializable oldKey,
Serializable newKey,
org.exoplatform.services.organization.CacheHandler.CacheType cacheType) |
void |
put(Serializable key,
Object value,
org.exoplatform.services.organization.CacheHandler.CacheType cacheType) |
void |
remove(Serializable key,
org.exoplatform.services.organization.CacheHandler.CacheType cacheType) |
public JCRCacheHandler(org.exoplatform.services.cache.CacheService cservice,
JCROrganizationServiceImpl jcrOrganizationServiceImpl,
boolean enabled)
protected Serializable createCacheKey(Serializable orgServiceKey)
createCacheKey in class org.exoplatform.services.organization.CacheHandlerprotected boolean matchKey(Serializable cacheKey)
matchKey in class org.exoplatform.services.organization.CacheHandlerprotected Serializable createOrgServiceKey(Serializable cacheKey)
createOrgServiceKey in class org.exoplatform.services.organization.CacheHandlerpublic void put(Serializable key, Object value, org.exoplatform.services.organization.CacheHandler.CacheType cacheType)
put in class org.exoplatform.services.organization.CacheHandlerpublic Object get(Serializable key, org.exoplatform.services.organization.CacheHandler.CacheType cacheType)
get in class org.exoplatform.services.organization.CacheHandlerpublic void remove(Serializable key, org.exoplatform.services.organization.CacheHandler.CacheType cacheType)
remove in class org.exoplatform.services.organization.CacheHandlerpublic void move(Serializable oldKey, Serializable newKey, org.exoplatform.services.organization.CacheHandler.CacheType cacheType)
move in class org.exoplatform.services.organization.CacheHandlerCopyright © 2003–2021 eXo Platform SAS. All rights reserved.