Uses of Interface
org.linuxforhealth.fhir.database.utils.api.IConnectionProvider
-
-
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.citus
Constructors in org.linuxforhealth.fhir.database.utils.citus with parameters of type IConnectionProvider Constructor Description CitusAdapter(IConnectionProvider cp)
Public constructor -
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.common
Classes in org.linuxforhealth.fhir.database.utils.common that implement IConnectionProvider Modifier and Type Class Description class
JdbcConnectionProvider
JdbcConnectionProviderFields in org.linuxforhealth.fhir.database.utils.common declared as IConnectionProvider Modifier and Type Field Description protected IConnectionProvider
CommonDatabaseAdapter. connectionProvider
Constructors in org.linuxforhealth.fhir.database.utils.common with parameters of type IConnectionProvider Constructor Description CommonDatabaseAdapter(IConnectionProvider cp, IDatabaseTranslator dt)
Public constructor for when we're using a connection providerConnectionProviderTarget(IConnectionProvider cp)
Public constructor -
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.derby
Classes in org.linuxforhealth.fhir.database.utils.derby that implement IConnectionProvider Modifier and Type Class Description class
DerbyConnectionProvider
AnIConnectionProvider
wrapper around DerbyMasterMethods in org.linuxforhealth.fhir.database.utils.derby with parameters of type IConnectionProvider Modifier and Type Method Description void
DerbyMaster. createSchema(IConnectionProvider pool, IVersionHistoryService vhs, PhysicalDataModel pdm)
Ask the schema to apply itself to our target (adapter pattern)void
DerbyMaster. createSchema(IConnectionProvider pool, PhysicalDataModel pdm)
Ask the schema to apply itself to our target (adapter pattern)void
DerbyMaster. runWithAdapter(IConnectionProvider pool, java.util.function.Consumer<ISchemaAdapter> fn)
Run theIDatabaseAdapter
command fn using a DerbyAdapter for the given connection poolConstructors in org.linuxforhealth.fhir.database.utils.derby with parameters of type IConnectionProvider Constructor Description DerbyAdapter(IConnectionProvider cp)
-
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.pool
Classes in org.linuxforhealth.fhir.database.utils.pool that implement IConnectionProvider Modifier and Type Class Description class
DatabaseSupport
Support class for managing connections to a database for utility appsclass
PoolConnectionProvider
Provides a simple connection pool with some thread-local behavior so that requests for a connection within the same thread will get the same connection back.Constructors in org.linuxforhealth.fhir.database.utils.pool with parameters of type IConnectionProvider Constructor Description PoolConnectionProvider(IConnectionProvider cp, int maxPoolSize)
Public constructor -
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.postgres
Constructors in org.linuxforhealth.fhir.database.utils.postgres with parameters of type IConnectionProvider Constructor Description PostgresAdapter(IConnectionProvider cp)
-
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.schema
Constructors in org.linuxforhealth.fhir.database.utils.schema with parameters of type IConnectionProvider Constructor Description LeaseManager(IDatabaseTranslator translator, IConnectionProvider connectionPool, ITransactionProvider transactionProvider, java.lang.String adminSchema, java.lang.String schemaName, ILeaseManagerConfig config)
Public constructorSchemaVersionsManager(IDatabaseTranslator translator, IConnectionProvider connectionPool, ITransactionProvider transactionProvider, java.lang.String schemaName, int latestCodeVersion)
Public constructor -
Uses of IConnectionProvider in org.linuxforhealth.fhir.database.utils.transaction
Methods in org.linuxforhealth.fhir.database.utils.transaction with parameters of type IConnectionProvider Modifier and Type Method Description static ITransaction
TransactionFactory. openTransaction(IConnectionProvider cp)
Open a transaction on this threadConstructors in org.linuxforhealth.fhir.database.utils.transaction with parameters of type IConnectionProvider Constructor Description SimpleTransaction(IConnectionProvider cp)
Protected constructor.SimpleTransactionProvider(IConnectionProvider cp)
Public constructor -
Uses of IConnectionProvider in org.linuxforhealth.fhir.persistence.jdbc.connection
Constructors in org.linuxforhealth.fhir.persistence.jdbc.connection with parameters of type IConnectionProvider Constructor Description FHIRDbTestConnectionStrategy(IConnectionProvider cp, Action action)
Public constructorFHIRTestTransactionAdapter(IConnectionProvider cp, IFHIRTransactionAdapterCallback beforeCommitCallback)
Public constructor -
Uses of IConnectionProvider in org.linuxforhealth.fhir.persistence.jdbc.impl
Constructors in org.linuxforhealth.fhir.persistence.jdbc.impl with parameters of type IConnectionProvider Constructor Description FHIRPersistenceJDBCImpl(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. -
Uses of IConnectionProvider in org.linuxforhealth.fhir.schema.app.util
Methods in org.linuxforhealth.fhir.schema.app.util with parameters of type IConnectionProvider Modifier and Type Method Description static IDatabaseAdapter
CommonUtil. getDbAdapter(DbType dbType, IConnectionProvider connectionProvider)
static ISchemaAdapter
CommonUtil. getSchemaAdapter(SchemaType schemaType, DbType dbType, IConnectionProvider connectionProvider)
Get the schema adapter which will build the schema variant described by the given schemaType -
Uses of IConnectionProvider in org.linuxforhealth.fhir.schema.derby
Classes in org.linuxforhealth.fhir.schema.derby that implement IConnectionProvider Modifier and Type Class Description class
DerbyFhirDatabase
An Apache Derby implementation of the IBM FHIR Server database (useful for supporting unit tests).
-