Class AbstractSchemaJdbcConfigurationBuilder<T extends AbstractSchemaJdbcConfiguration,S extends AbstractSchemaJdbcConfigurationBuilder<T,S>>
java.lang.Object
org.infinispan.configuration.cache.AbstractPersistenceConfigurationChildBuilder
org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder<T,S>
org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfigurationBuilder<T,S>
org.infinispan.persistence.sql.configuration.AbstractSchemaJdbcConfigurationBuilder<T,S>
- All Implemented Interfaces:
Builder<T>
,Self<S>
,ConfigurationChildBuilder
,LoaderConfigurationChildBuilder<S>
,PersistenceConfigurationChildBuilder
,StoreConfigurationBuilder<T,
,S> StoreConfigurationChildBuilder<S>
,JdbcStoreConfigurationChildBuilder<S>
- Direct Known Subclasses:
QueriesJdbcStoreConfigurationBuilder
,TableJdbcStoreConfigurationBuilder
public abstract class AbstractSchemaJdbcConfigurationBuilder<T extends AbstractSchemaJdbcConfiguration,S extends AbstractSchemaJdbcConfigurationBuilder<T,S>>
extends AbstractJdbcStoreConfigurationBuilder<T,S>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConfigurationBuilder
protected final SchemaJdbcConfigurationBuilder<S>
Fields inherited from class org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfigurationBuilder
connectionFactory
Fields inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder
async, attributes
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSchemaJdbcConfigurationBuilder
(PersistenceConfigurationBuilder builder, AttributeSet attributes) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsencoding()
protected ConfigurationBuilder
indexing()
locking()
memory()
query()
Builder<?>
Reads the configuration from an already created configuration bean into this builder.schema()
Deprecated, for removal: This API element is subject to removal in a future version.useschema()
insteadsecurity()
boolean
simpleCache
(boolean simpleCache) sites()
template
(boolean template) unsafe()
void
validate()
Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfigurationBuilder
connectionFactory, connectionFactory, connectionPool, dataSource, dbMajorVersion, dbMinorVersion, dialect, getConnectionFactory, manageConnectionFactory, readQueryTimeout, simpleConnection, validate, writeQueryTimeout
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder
addProperty, async, attributes, fetchPersistentState, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, toString, transactional, validate, withProperties, writeOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, query, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe
Methods inherited from interface org.infinispan.configuration.cache.PersistenceConfigurationChildBuilder
persistence
-
Field Details
-
schemaBuilder
protected final SchemaJdbcConfigurationBuilder<S extends AbstractSchemaJdbcConfigurationBuilder<T,S>> schemaBuilder -
builder
-
-
Constructor Details
-
AbstractSchemaJdbcConfigurationBuilder
public AbstractSchemaJdbcConfigurationBuilder(PersistenceConfigurationBuilder builder, AttributeSet attributes)
-
-
Method Details
-
schemaJdbcConfigurationBuilder
@Deprecated(forRemoval=true) public SchemaJdbcConfigurationBuilder<S> schemaJdbcConfigurationBuilder()Deprecated, for removal: This API element is subject to removal in a future version.useschema()
insteadRetrieves the schema configuration builder- Returns:
- builder to configure the schema
-
schema
-
validate
public void validate()Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<T extends AbstractSchemaJdbcConfiguration>
- Overrides:
validate
in classAbstractJdbcStoreConfigurationBuilder<T extends AbstractSchemaJdbcConfiguration,
S extends AbstractSchemaJdbcConfigurationBuilder<T, S>>
-
read
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<T extends AbstractSchemaJdbcConfiguration>
- Overrides:
read
in classAbstractJdbcStoreConfigurationBuilder<T extends AbstractSchemaJdbcConfiguration,
S extends AbstractSchemaJdbcConfigurationBuilder<T, S>> - Parameters:
template
- the configuration from which to "clone" this config if needed.combine
- the way attributes and children of this instance and the template should be combined.
-
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
-
customInterceptors
Deprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptors- Specified by:
customInterceptors
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
-
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
-