public class GenericDataCache extends AGenericDataCache
| Constructor and Description |
|---|
GenericDataCache() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends de.xima.cmn.dao.interfaces.ILockableEntity<?>> |
cacheStringData(UserContext uc,
T entity,
String dataToCache)
Writes the given data into the cache under the locking version of the given entity.
|
static com.alibaba.fastjson.JSONObject |
getCachedI18nValues(UserContext uc,
Mandant client) |
static com.alibaba.fastjson.JSONObject |
getCachedI18nValues(UserContext uc,
Textbaustein template) |
static <T extends de.xima.cmn.dao.interfaces.IEntity<?>> |
readCachedStringData(T entity)
Determine a
StringCacheModel from the cache |
cacheData, readCachedData, readCachedDatapublic static com.alibaba.fastjson.JSONObject getCachedI18nValues(UserContext uc, Mandant client)
public static com.alibaba.fastjson.JSONObject getCachedI18nValues(UserContext uc, Textbaustein template) throws com.alibaba.fastjson.JSONException
com.alibaba.fastjson.JSONExceptionpublic static <T extends de.xima.cmn.dao.interfaces.IEntity<?>> StringCacheModel readCachedStringData(T entity)
StringCacheModel from the cacheentity - the entity to read the cache forStringCacheModelpublic static <T extends de.xima.cmn.dao.interfaces.ILockableEntity<?>> void cacheStringData(UserContext uc, T entity, String dataToCache)
uc - the user contextentity - the entity with the locking version for the cache key generationdataToCache - the data to write into the cacheCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.