Class CacheContainerConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.CacheContainerConfigurationBuilder
- All Implemented Interfaces:
Builder<org.infinispan.configuration.global.CacheContainerConfiguration>,GlobalConfigurationChildBuilder
-
Method Summary
Modifier and TypeMethodDescriptionasyncExecutor(String name) Configuration for the asynchronous operations thread poolblockingExecutor(String name) Configuration for the blocking thread poolbuild()Builds aGlobalConfigurationobject using the settings applied to this builderorg.infinispan.configuration.global.CacheContainerConfigurationcreate()Create the configuration beandefaultCache(String defaultCacheName) defaultCacheName(String defaultCacheName) Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache().static GlobalConfigurationBuilderConfiguration for the expiration thread poolprotected GlobalConfigurationBuilderGlobal state configurationjmx()Global JMX configuration.Configuration for the listener thread poolmetrics()Global metrics configuration.modules()Global modules configurationname()nonBlockingExecutor(String name) Configuration for the non blocking thread poolpersistenceExecutor(String name) Configuration for the persistence thread poolBuilder<?>Reads the configuration from an already created configuration bean into this builder.security()Security-related configurationGlobal serialization (i.e.shutdown()Shutdown configurationsite()Cross-site replication configurationstateTransferExecutor(String name) Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1, no longer used.Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1, no longer used.booleanstatistics(boolean statistics) statistics(Boolean statistics) Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1.3.threads()Transport-related (i.e.voidvalidate()Validate the data in this builder before building the configuration beanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.configuration.global.GlobalConfigurationChildBuilder
globalJmxStatistics
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<org.infinispan.configuration.global.CacheContainerConfiguration>
-
clusteredDefault
-
nonClusteredDefault
-
defaultClusteredBuilder
-
defaultCacheName
-
metrics
Description copied from interface:GlobalConfigurationChildBuilderGlobal metrics configuration.- Specified by:
metricsin interfaceGlobalConfigurationChildBuilder
-
jmx
Description copied from interface:GlobalConfigurationChildBuilderGlobal JMX configuration.- Specified by:
jmxin interfaceGlobalConfigurationChildBuilder
-
globalState
Description copied from interface:GlobalConfigurationChildBuilderGlobal state configuration- Specified by:
globalStatein interfaceGlobalConfigurationChildBuilder
-
transport
Description copied from interface:GlobalConfigurationChildBuilderTransport-related (i.e. clustering) configuration- Specified by:
transportin interfaceGlobalConfigurationChildBuilder
-
threads
-
asyncThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the asynchronous operations thread pool- Specified by:
asyncThreadPoolin interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the expiration thread pool- Specified by:
expirationThreadPoolin interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the persistence thread pool- Specified by:
persistenceThreadPoolin interfaceGlobalConfigurationChildBuilder
-
stateTransferThreadPool
Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1, no longer used.Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the state-transfer thread pool- Specified by:
stateTransferThreadPoolin interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the listener thread pool- Specified by:
listenerThreadPoolin interfaceGlobalConfigurationChildBuilder
-
nonBlockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the non blocking thread pool- Specified by:
nonBlockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
blockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the blocking thread pool- Specified by:
blockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
security
Description copied from interface:GlobalConfigurationChildBuilderSecurity-related configuration- Specified by:
securityin interfaceGlobalConfigurationChildBuilder
-
serialization
Description copied from interface:GlobalConfigurationChildBuilderGlobal serialization (i.e. marshalling) configuration- Specified by:
serializationin interfaceGlobalConfigurationChildBuilder
-
shutdown
Description copied from interface:GlobalConfigurationChildBuilderShutdown configuration- Specified by:
shutdownin interfaceGlobalConfigurationChildBuilder
-
defaultCache
-
name
-
name
-
statistics
-
statistics
@Deprecated(forRemoval=true) public CacheContainerConfigurationBuilder statistics(Boolean statistics) Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1.3. Usestatistics(boolean)instead. -
statistics
public boolean statistics() -
asyncExecutor
-
persistenceExecutor
-
stateTransferExecutor
@Deprecated(forRemoval=true) public CacheContainerConfigurationBuilder stateTransferExecutor(String name) Deprecated, for removal: This API element is subject to removal in a future version.Since 10.1, no longer used. -
nonBlockingExecutor
-
blockingExecutor
-
validate
public void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean -
create
public org.infinispan.configuration.global.CacheContainerConfiguration create()Description copied from interface:BuilderCreate the configuration bean -
read
public Builder<?> read(org.infinispan.configuration.global.CacheContainerConfiguration template, Combine combine) Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration -
getGlobalConfig
-
site
Description copied from interface:GlobalConfigurationChildBuilderCross-site replication configuration- Specified by:
sitein interfaceGlobalConfigurationChildBuilder
-
modules
Description copied from interface:GlobalConfigurationChildBuilderGlobal modules configuration- Specified by:
modulesin interfaceGlobalConfigurationChildBuilder
-
defaultCacheName
Description copied from interface:GlobalConfigurationChildBuilderSets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache(). Not- Specified by:
defaultCacheNamein interfaceGlobalConfigurationChildBuilder
-
build
Description copied from interface:GlobalConfigurationChildBuilderBuilds aGlobalConfigurationobject using the settings applied to this builder- Specified by:
buildin interfaceGlobalConfigurationChildBuilder
-