Class FHIRPersistenceJDBCCacheUtil


  • public class FHIRPersistenceJDBCCacheUtil
    extends Object
    Utilities for operating on the FHIRPersistenceJDBCCache
    • Constructor Detail

      • FHIRPersistenceJDBCCacheUtil

        public FHIRPersistenceJDBCCacheUtil()
    • 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 com.ibm.fhir.persistence.exception.FHIRPersistenceException
        Prefill the cache with constants already committed in the database
        Parameters:
        connection -
        cache -
        Throws:
        com.ibm.fhir.persistence.exception.FHIRPersistenceException