Class FHIRPersistenceJDBCCacheUtil
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.cache.FHIRPersistenceJDBCCacheUtil
-
public class FHIRPersistenceJDBCCacheUtil extends java.lang.Object
Utilities for operating on the FHIRPersistenceJDBCCache
-
-
Constructor Summary
Constructors Constructor Description FHIRPersistenceJDBCCacheUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FHIRPersistenceJDBCCache
create(int codeSystemCacheSize, int tokenValueCacheSize, int canonicalCacheSize)
Factory function to create a new cache instancestatic void
prefill(ResourceDAO resourceDAO, ParameterDAO parameterDAO, FHIRPersistenceJDBCCache cache)
Prefill the cache with constants already committed in the database
-
-
-
Method Detail
-
create
public static FHIRPersistenceJDBCCache create(int codeSystemCacheSize, int tokenValueCacheSize, int canonicalCacheSize)
Factory function to create a new cache instance- Returns:
-
prefill
public static void prefill(ResourceDAO resourceDAO, ParameterDAO parameterDAO, FHIRPersistenceJDBCCache cache) throws FHIRPersistenceException
Prefill the cache with constants already committed in the database- Parameters:
connection
-cache
-- Throws:
FHIRPersistenceException
-
-