Package de.xima.fc.api.cache
Class XFormCache
java.lang.Object
de.xima.fc.api.cache.XFormCache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IXFormcacheForm(UserContext uc, FormVersion entity) static IXFormgetCachedForm(UserContext uc, FormVersion entity) static StringgetEntryKey(FormVersion entity) static org.ehcache.Cache<String,XformCacheModel> static IXFormgetUncachedForm(UserContext uc, FormVersion entity) static voidinit()static XformCacheModelreadCachedForm(UserContext uc, FormVersion entity) static voidreinit()Reinitialize cache after configuration changestatic voidshutdown()
-
Field Details
-
CACHE_NAME
- See Also:
-
-
Constructor Details
-
XFormCache
public XFormCache()
-
-
Method Details
-
getCachedForm
public static IXForm getCachedForm(UserContext uc, FormVersion entity) throws com.alibaba.fastjson.JSONException, IOException - Throws:
com.alibaba.fastjson.JSONExceptionIOException
-
getUncachedForm
public static IXForm getUncachedForm(UserContext uc, FormVersion entity) throws com.alibaba.fastjson.JSONException, IOException - Throws:
com.alibaba.fastjson.JSONExceptionIOException
-
readCachedForm
-
cacheForm
public static IXForm cacheForm(UserContext uc, FormVersion entity) throws com.alibaba.fastjson.JSONException, IOException - Throws:
com.alibaba.fastjson.JSONExceptionIOException
-
getEntryKey
-
getInstance
-
shutdown
public static void shutdown() -
init
public static void init() -
reinit
public static void reinit()Reinitialize cache after configuration change
-