Interface FHIRPersistenceJDBCCache

    • Method Detail

      • needToPrefill

        boolean needToPrefill()
        Returns true if the caller should attempt to prefill the caches. Prefilling must only be done before any new records are inserted to ensure the shared caches contain only data which has been previously committed to the database.
        Returns:
      • clearNeedToPrefill

        void clearNeedToPrefill()
        Clear the needToPrefill flag - call after the prefill has been done
      • getResourceReferenceCache

        ICommonTokenValuesCache getResourceReferenceCache()
        Getter for the common token values cache
        Returns:
      • getResourceTypeCache

        INameIdCache<java.lang.Integer> getResourceTypeCache()
        Getter for the cache of resource types used to look up resource type id
        Returns:
      • getResourceTypeNameCache

        IIdNameCache<java.lang.Integer> getResourceTypeNameCache()
        Getter for the cache of resource type ids used to look up resource type name
        Returns:
      • getParameterNameCache

        INameIdCache<java.lang.Integer> getParameterNameCache()
        Getter for the cache of parameter names
        Returns:
      • transactionCommitted

        void transactionCommitted()
        Tell any caches that the transaction on the current thread has just committed
      • transactionRolledBack

        void transactionRolledBack()
        The transaction on the current thread was rolled back, so throw away anything held in thread-local caches