Class ModelStringsContextTranslationCache
java.lang.Object
com.e1c.langtool.v8.dt.translator.AbstractStringTranslationCache
com.e1c.langtool.v8.dt.translator.ModelStringsContextTranslationCache
- All Implemented Interfaces:
SessionCache
The common cache for model strings that stores all context translations during translation session.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConcurrentMap<String,String> getCacheMap(org.mapdb.DB db) getTranslation(ContextTranslationKey key, com.google.inject.Provider<String> provider) voidputTranslation(ContextTranslationKey key, String translation) Methods inherited from class com.e1c.langtool.v8.dt.translator.AbstractStringTranslationCache
clear, configureDb, dispose, get, get, put, removeMethods 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
-
ModelStringsContextTranslationCache
public ModelStringsContextTranslationCache()
-
-
Method Details
-
getTranslation
-
getTranslation
public String getTranslation(ContextTranslationKey key, com.google.inject.Provider<String> provider) -
putTranslation
-
getCacheMap
- Overrides:
getCacheMapin classAbstractStringTranslationCache
-