Class CustomStoreConfigurationBuilder
java.lang.Object
org.infinispan.configuration.cache.AbstractPersistenceConfigurationChildBuilder
org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder<CustomStoreConfiguration,CustomStoreConfigurationBuilder>
org.infinispan.configuration.cache.CustomStoreConfigurationBuilder
- All Implemented Interfaces:
Builder<CustomStoreConfiguration>
,Self<CustomStoreConfigurationBuilder>
,ConfigurationChildBuilder
,PersistenceConfigurationChildBuilder
,StoreConfigurationBuilder<CustomStoreConfiguration,
,CustomStoreConfigurationBuilder> StoreConfigurationChildBuilder<CustomStoreConfigurationBuilder>
public class CustomStoreConfigurationBuilder
extends AbstractStoreConfigurationBuilder<CustomStoreConfiguration,CustomStoreConfigurationBuilder>
StoreConfigurationBuilder used for stores/loaders that don't have a configuration builder
- Since:
- 7.0
- Author:
- wburns
-
Field Summary
FieldsFields inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder
async, attributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
create()
Create the configuration beanDeprecated.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorscustomStoreClass
(Class<?> customStoreClass) encoding()
protected ConfigurationBuilder
indexing()
locking()
memory()
Builder<?>
read
(CustomStoreConfiguration template) Reads the configuration from an already created configuration bean into this builder.security()
self()
boolean
simpleCache
(boolean simpleCache) sites()
template
(boolean template) unsafe()
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationBuilder
addProperty, async, attributes, fetchPersistentState, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, toString, transactional, validate, validate, validate, withProperties, writeOnly
Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe
Methods inherited from interface org.infinispan.configuration.cache.PersistenceConfigurationChildBuilder
persistence
-
Field Details
-
builder
-
-
Constructor Details
-
CustomStoreConfigurationBuilder
-
-
Method Details
-
create
Description copied from interface:Builder
Create the configuration bean- Returns:
-
customStoreClass
-
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<CustomStoreConfiguration>
- Overrides:
read
in classAbstractStoreConfigurationBuilder<CustomStoreConfiguration,
CustomStoreConfigurationBuilder> - Parameters:
template
- the configuration from which to "clone" this config if needed.
-
self
-
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.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
-
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
-