Class AbstractStringTranslationCache
java.lang.Object
com.e1c.langtool.v8.dt.translator.AbstractStringTranslationCache
- All Implemented Interfaces:
SessionCache
- Direct Known Subclasses:
DataPathSegmentsTranslationCache,ModelNameTranslationCache,ModelStringsContextTranslationCache
Abstract string cache temperary stores data in temp file that deletes after close the cache.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear all holding cacheprotected voidconfigureDb(org.mapdb.DBMaker<?> dbMaker) protected voiddispose()protected Stringprotected Stringprotected ConcurrentMap<String,String> getCacheMap(org.mapdb.DB db) protected voidprotected StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.v8.dt.translator.SessionCache
init
-
Constructor Details
-
AbstractStringTranslationCache
public AbstractStringTranslationCache()
-
-
Method Details
-
get
-
get
-
put
-
remove
-
clear
public void clear()Description copied from interface:SessionCacheClear all holding cache- Specified by:
clearin interfaceSessionCache
-
dispose
protected void dispose() -
configureDb
protected void configureDb(org.mapdb.DBMaker<?> dbMaker) -
getCacheMap
-