Class TranslationCacheManager

java.lang.Object
com.e1c.langtool.internal.external.cache.TranslationCacheManager
All Implemented Interfaces:
ITranslationCacheManager
Direct Known Subclasses:
SharedTranslationCache

public class TranslationCacheManager extends Object implements ITranslationCacheManager
The base realization of ITranslationCacheManager.

This cache manager provides initialization of caches for each cacheable (see isCacheable()) provider that given from ITranslationProviderRegistry. Also this manager provides lazy initialization of each provider's cache using a lazy proxy objects instead of real cache objects. If IOError occurs while cache initializing then it logs an error and uses CacheStub as cache.