Uses of Interface
org.linuxforhealth.fhir.persistence.jdbc.FHIRPersistenceJDBCCache
-
-
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc
Methods in org.linuxforhealth.fhir.persistence.jdbc with parameters of type FHIRPersistenceJDBCCache Modifier and Type Method Description static ReindexResourceDAO
FHIRResourceDAOFactory. getReindexResourceDAO(java.sql.Connection connection, java.lang.String adminSchemaName, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterDAO parameterDao)
Instantiate a new instance ofReindexResourceDAO
configured for the given database typestatic ResourceDAO
FHIRResourceDAOFactory. getResourceDAO(java.sql.Connection connection, java.lang.String adminSchemaName, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi, java.lang.Short shardKey)
Construct a new ResourceDAO implementation matching the database typestatic ResourceDAO
FHIRResourceDAOFactory. getResourceDAO(java.sql.Connection connection, java.lang.String adminSchemaName, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, java.lang.Short shardKey)
Construct a new ResourceDAO implementation matching the database type -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.cache
Classes in org.linuxforhealth.fhir.persistence.jdbc.cache that implement FHIRPersistenceJDBCCache Modifier and Type Class Description class
FHIRPersistenceJDBCCacheImpl
Aggregates and manages the individual caches used for a tenantMethods in org.linuxforhealth.fhir.persistence.jdbc.cache that return FHIRPersistenceJDBCCache Modifier and Type Method Description static FHIRPersistenceJDBCCache
FHIRPersistenceJDBCCacheUtil. create(int codeSystemCacheSize, int tokenValueCacheSize, int canonicalCacheSize, int logicalResourceIdentCacheSize)
Factory function to create a new cache instanceprotected FHIRPersistenceJDBCCache
FHIRPersistenceJDBCTenantCache. createCache(java.lang.String cacheKey)
Create the individual caches we need and wrap them in a container we use to hold them in the tenant mapFHIRPersistenceJDBCCache
FHIRPersistenceJDBCTenantCache. getCacheForTenantAndDatasource()
Get the FHIRPersistenceJDBCCache cache associated with the tenant and datasource defined in the current request context.Methods in org.linuxforhealth.fhir.persistence.jdbc.cache with parameters of type FHIRPersistenceJDBCCache Modifier and Type Method Description static void
FHIRPersistenceJDBCCacheUtil. prefill(ResourceDAO resourceDAO, ParameterDAO parameterDAO, FHIRPersistenceJDBCCache cache)
Prefill the cache with constants already committed in the database -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.citus
Constructors in org.linuxforhealth.fhir.persistence.jdbc.citus with parameters of type FHIRPersistenceJDBCCache Constructor Description CitusResourceDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi, java.lang.Short shardKey)
Public constructorCitusResourceDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, java.lang.Short shardKey)
Public constructor -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.connection
Constructors in org.linuxforhealth.fhir.persistence.jdbc.connection with parameters of type FHIRPersistenceJDBCCache Constructor Description FHIRUserTransactionAdapter(javax.transaction.UserTransaction tx, javax.transaction.TransactionSynchronizationRegistry syncRegistry, FHIRPersistenceJDBCCache cache, java.lang.String transactionDataKey, java.util.function.Consumer<java.lang.Boolean> afterTransactionHandler)
Public constructor -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.dao
Constructors in org.linuxforhealth.fhir.persistence.jdbc.dao with parameters of type FHIRPersistenceJDBCCache Constructor Description EraseResourceDAO(java.sql.Connection conn, java.lang.String adminSchemaName, IDatabaseTranslator translator, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
Public constructorReindexResourceDAO(java.sql.Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi)
Public constructorReindexResourceDAO(java.sql.Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
Public constructor -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.dao.impl
Methods in org.linuxforhealth.fhir.persistence.jdbc.dao.impl that return FHIRPersistenceJDBCCache Modifier and Type Method Description protected FHIRPersistenceJDBCCache
ResourceDAOImpl. getCache()
Getter for access to theFHIRPersistenceJDBCCache
from subclassesConstructors in org.linuxforhealth.fhir.persistence.jdbc.dao.impl with parameters of type FHIRPersistenceJDBCCache Constructor Description JDBCIdentityCacheImpl(FHIRPersistenceJDBCCache cache, ResourceDAO resourceDAO, ParameterDAO parameterDAO, ICommonValuesDAO commonValuesDAO)
Public constructorResourceDAOImpl(java.sql.Connection c, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi)
Constructs a DAO instance suitable for acquiring connections from a JDBC Datasource object.ResourceDAOImpl(java.sql.Connection c, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
Constructs a DAO instance for use outside a managed transaction (JEE) environmentRetrieveIndexDAO(IDatabaseTranslator tx, java.lang.String schemaName, java.lang.String resourceTypeName, int count, java.time.Instant notModifiedAfter, java.lang.Long afterIndexId, FHIRPersistenceJDBCCache cache)
Public constructor. -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.derby
Constructors in org.linuxforhealth.fhir.persistence.jdbc.derby with parameters of type FHIRPersistenceJDBCCache Constructor Description DerbyResourceDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi)
Derby is not only used for unit tests, but can also be used to provide persistence for a stand-alone full FHIR server.DerbyResourceDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
Public constructor -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.impl
Constructors in org.linuxforhealth.fhir.persistence.jdbc.impl with parameters of type FHIRPersistenceJDBCCache Constructor Description CacheTransactionSync(javax.transaction.TransactionSynchronizationRegistry txSyncRegistry, FHIRPersistenceJDBCCache cache, java.lang.String transactionDataKey, java.util.function.Consumer<java.lang.Boolean> afterTransactionHandler)
Public constructorFHIRPersistenceJDBCImpl(java.util.Properties configProps, IConnectionProvider cp, FHIRConfigProvider configProvider, FHIRPersistenceJDBCCache cache, SearchHelper searchHelper)
Constructor for use when running standalone, outside of any web container.FHIRPersistenceJDBCImpl(java.util.Properties configProps, IConnectionProvider cp, FHIRPersistenceJDBCCache cache)
Constructor for use when running standalone, outside of any web container.FHIRPersistenceJDBCImpl(FHIRPersistenceJDBCCache cache, FHIRPayloadPersistence payloadPersistence, SearchHelper searchHelper)
Constructor for use when running as web application in WLP. -
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.postgres
Constructors in org.linuxforhealth.fhir.persistence.jdbc.postgres with parameters of type FHIRPersistenceJDBCCache Constructor Description PostgresReindexResourceDAO(java.sql.Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi)
Public constructor for use in a JEE contextPostgresReindexResourceDAO(java.sql.Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
Public constructorPostgresResourceDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi, java.lang.Short shardKey)
Public constructor used when UserTransaction is availablePostgresResourceDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, java.lang.Short shardKey)
Public constructor used in runtimes without UserTransaction supportPostgresResourceNoProcDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, javax.transaction.TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, ParameterTransactionDataImpl ptdi)
PostgresResourceNoProcDAO(java.sql.Connection connection, java.lang.String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache)
-
Uses of FHIRPersistenceJDBCCache in org.linuxforhealth.fhir.persistence.jdbc.util
Constructors in org.linuxforhealth.fhir.persistence.jdbc.util with parameters of type FHIRPersistenceJDBCCache Constructor Description JDBCParameterCacheAdapter(FHIRPersistenceJDBCCache cache)
Public constructor
-