public class BaseUserPreferencesCacheService extends AbstractCacheableService
BaseUserPreferencesServiceImpl| Constructor and Description |
|---|
BaseUserPreferencesCacheService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheKey(String strUserId,
String strKey)
Get the key in the cache of a preference of a user
|
String |
getName()
Returns the Service name
|
void |
removeCacheValuesOfUser(String strUserId)
Remove every values stored in cache for a given user
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCachepublic String getName()
public String getCacheKey(String strUserId, String strKey)
strUserId - The id of the userstrKey - The preference keypublic void removeCacheValuesOfUser(String strUserId)
strUserId - The user id to remove from cacheCopyright © 2020 City of Paris. All rights reserved.