Package com.ibm.fhir.core
Class TenantSpecificFileBasedCache<T>
- java.lang.Object
-
- com.ibm.fhir.core.TenantSpecificFileBasedCache<T>
-
- Direct Known Subclasses:
TenantSpecificPropertyGroupCache
,TenantSpecificSearchParameterCache
public abstract class TenantSpecificFileBasedCache<T> extends Object
This class is a parameterized abstract base class to be used for situations where we need to implement a tenant-specific cache of file-based objects. Examples include: configuration parameters, structure definitions, search parameters, etc.
-
-
Constructor Summary
Constructors Constructor Description TenantSpecificFileBasedCache()
TenantSpecificFileBasedCache(String cacheType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
clearCache()
Clears the entire cache.abstract T
createCachedObject(File file)
T
getCachedObjectForTenant(String tenantId)
abstract String
getCacheEntryFilename(String tenantId)
-
-
-
Constructor Detail
-
TenantSpecificFileBasedCache
public TenantSpecificFileBasedCache()
-
TenantSpecificFileBasedCache
public TenantSpecificFileBasedCache(String cacheType)
-
-