Class AbstractJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,S>>
java.lang.Object
org.infinispan.configuration.cache.AbstractPersistenceConfigurationChildBuilder
org.infinispan.configuration.cache.AbstractStoreConfigurationChildBuilder<S>
org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfigurationChildBuilder<S>
- All Implemented Interfaces:
ConfigurationChildBuilder
,LoaderConfigurationChildBuilder<S>
,PersistenceConfigurationChildBuilder
,StoreConfigurationChildBuilder<S>
,JdbcStoreConfigurationChildBuilder<S>
- Direct Known Subclasses:
CDIConnectionFactoryConfigurationBuilder
,ManagedConnectionFactoryConfigurationBuilder
,PooledConnectionFactoryConfigurationBuilder
,QueriesJdbcConfigurationBuilder
,SchemaJdbcConfigurationBuilder
,SimpleConnectionFactoryConfigurationBuilder
,TableManipulationConfigurationBuilder
public abstract class AbstractJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,S>>
extends AbstractStoreConfigurationChildBuilder<S>
implements JdbcStoreConfigurationChildBuilder<S>
AbstractJdbcStoreConfigurationChildBuilder.
- Since:
- 5.2
- Author:
- Tristan Tarrant
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
<C extends ConnectionFactoryConfigurationBuilder<?>>
CconnectionFactory
(C factoryBuilder) Use the specifiedConnectionFactoryConfigurationBuilder
to configure connections to the database<C extends ConnectionFactoryConfigurationBuilder<?>>
CconnectionFactory
(Class<C> klass) Use the specified ConnectionFactory to handle connection to the databaseConfigures a connection pool to be used by this JDBC Cache Store to handle connections to the databaseConfigures a DataSource to be used by this JDBC Cache Store to handle connections to the databaseencoding()
protected ConfigurationBuilder
indexing()
locking()
memory()
query()
security()
boolean
simpleCache
(boolean simpleCache) Configures this JDBC Cache Store to use a single connection to the databasesites()
template
(boolean template) tracing()
unsafe()
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationChildBuilder
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties, writeOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
aliases, build, clustering, encoding, expiration, indexing, invocationBatching, locking, memory, query, security, simpleCache, simpleCache, sites, statistics, template, tracing, transaction, unsafe, validate
Methods inherited from interface org.infinispan.configuration.cache.PersistenceConfigurationChildBuilder
persistence
-
Constructor Details
-
AbstractJdbcStoreConfigurationChildBuilder
protected AbstractJdbcStoreConfigurationChildBuilder(AbstractJdbcStoreConfigurationBuilder<?, S> builder)
-
-
Method Details
-
connectionPool
Description copied from interface:JdbcStoreConfigurationChildBuilder
Configures a connection pool to be used by this JDBC Cache Store to handle connections to the database- Specified by:
connectionPool
in interfaceJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,
S>>
-
dataSource
Description copied from interface:JdbcStoreConfigurationChildBuilder
Configures a DataSource to be used by this JDBC Cache Store to handle connections to the database- Specified by:
dataSource
in interfaceJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,
S>>
-
cdiDataSource
- Specified by:
cdiDataSource
in interfaceJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,
S>>
-
simpleConnection
Description copied from interface:JdbcStoreConfigurationChildBuilder
Configures this JDBC Cache Store to use a single connection to the database- Specified by:
simpleConnection
in interfaceJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,
S>>
-
connectionFactory
Description copied from interface:JdbcStoreConfigurationChildBuilder
Use the specified ConnectionFactory to handle connection to the database- Specified by:
connectionFactory
in interfaceJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,
S>>
-
connectionFactory
Description copied from interface:JdbcStoreConfigurationChildBuilder
Use the specifiedConnectionFactoryConfigurationBuilder
to configure connections to the database- Specified by:
connectionFactory
in interfaceJdbcStoreConfigurationChildBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,
S>>
-
aliases
- Specified by:
aliases
in interfaceConfigurationChildBuilder
-
template
- Specified by:
template
in interfaceConfigurationChildBuilder
-
simpleCache
- Specified by:
simpleCache
in interfaceConfigurationChildBuilder
-
simpleCache
public boolean simpleCache()- Specified by:
simpleCache
in interfaceConfigurationChildBuilder
-
clustering
- Specified by:
clustering
in interfaceConfigurationChildBuilder
-
encoding
- Specified by:
encoding
in interfaceConfigurationChildBuilder
-
expiration
- Specified by:
expiration
in interfaceConfigurationChildBuilder
-
query
- Specified by:
query
in interfaceConfigurationChildBuilder
-
indexing
- Specified by:
indexing
in interfaceConfigurationChildBuilder
-
tracing
- Specified by:
tracing
in interfaceConfigurationChildBuilder
-
invocationBatching
- Specified by:
invocationBatching
in interfaceConfigurationChildBuilder
-
statistics
- Specified by:
statistics
in interfaceConfigurationChildBuilder
-
persistence
- Specified by:
persistence
in interfaceConfigurationChildBuilder
-
locking
- Specified by:
locking
in interfaceConfigurationChildBuilder
-
security
- Specified by:
security
in interfaceConfigurationChildBuilder
-
transaction
- Specified by:
transaction
in interfaceConfigurationChildBuilder
-
unsafe
- Specified by:
unsafe
in interfaceConfigurationChildBuilder
-
sites
- Specified by:
sites
in interfaceConfigurationChildBuilder
-
memory
- Specified by:
memory
in interfaceConfigurationChildBuilder
-
getBuilder
-
build
- Specified by:
build
in interfaceConfigurationChildBuilder
-