Class CacheContainerConfigurationBuilder
- java.lang.Object
-
- org.infinispan.configuration.global.CacheContainerConfigurationBuilder
-
- All Implemented Interfaces:
Builder<org.infinispan.configuration.global.CacheContainerConfiguration>
,GlobalConfigurationChildBuilder
public class CacheContainerConfigurationBuilder extends Object implements Builder<org.infinispan.configuration.global.CacheContainerConfiguration>
-
-
Method Summary
-
Methods inherited from interface org.infinispan.configuration.global.GlobalConfigurationChildBuilder
globalJmxStatistics
-
-
-
-
Method Detail
-
clusteredDefault
public CacheContainerConfigurationBuilder clusteredDefault()
-
nonClusteredDefault
public CacheContainerConfigurationBuilder nonClusteredDefault()
-
defaultClusteredBuilder
public static GlobalConfigurationBuilder defaultClusteredBuilder()
-
defaultCacheName
public String defaultCacheName()
-
metrics
public GlobalMetricsConfigurationBuilder metrics()
Description copied from interface:GlobalConfigurationChildBuilder
Global microprofile metrics configuration.- Specified by:
metrics
in interfaceGlobalConfigurationChildBuilder
-
jmx
public GlobalJmxConfigurationBuilder jmx()
Description copied from interface:GlobalConfigurationChildBuilder
Global JMX configuration.- Specified by:
jmx
in interfaceGlobalConfigurationChildBuilder
-
globalState
public GlobalStateConfigurationBuilder globalState()
Description copied from interface:GlobalConfigurationChildBuilder
Global state configuration- Specified by:
globalState
in interfaceGlobalConfigurationChildBuilder
-
transport
public TransportConfigurationBuilder transport()
Description copied from interface:GlobalConfigurationChildBuilder
Transport-related (i.e. clustering) configuration- Specified by:
transport
in interfaceGlobalConfigurationChildBuilder
-
threads
public ThreadsConfigurationBuilder threads()
-
asyncThreadPool
public ThreadPoolConfigurationBuilder asyncThreadPool()
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the asynchronous operations thread pool- Specified by:
asyncThreadPool
in interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
public ThreadPoolConfigurationBuilder expirationThreadPool()
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the expiration thread pool- Specified by:
expirationThreadPool
in interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
public ThreadPoolConfigurationBuilder persistenceThreadPool()
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the persistence thread pool- Specified by:
persistenceThreadPool
in interfaceGlobalConfigurationChildBuilder
-
stateTransferThreadPool
@Deprecated public ThreadPoolConfigurationBuilder stateTransferThreadPool()
Deprecated.Since 10.1, no longer used.Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the state-transfer thread pool- Specified by:
stateTransferThreadPool
in interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
public ThreadPoolConfigurationBuilder listenerThreadPool()
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the listener thread pool- Specified by:
listenerThreadPool
in interfaceGlobalConfigurationChildBuilder
-
security
public GlobalSecurityConfigurationBuilder security()
Description copied from interface:GlobalConfigurationChildBuilder
Security-related configuration- Specified by:
security
in interfaceGlobalConfigurationChildBuilder
-
serialization
public SerializationConfigurationBuilder serialization()
Description copied from interface:GlobalConfigurationChildBuilder
Global serialization (i.e. marshalling) configuration- Specified by:
serialization
in interfaceGlobalConfigurationChildBuilder
-
shutdown
public ShutdownConfigurationBuilder shutdown()
Description copied from interface:GlobalConfigurationChildBuilder
Shutdown configuration- Specified by:
shutdown
in interfaceGlobalConfigurationChildBuilder
-
defaultCache
public CacheContainerConfigurationBuilder defaultCache(String defaultCacheName)
-
name
public CacheContainerConfigurationBuilder name(String cacheManagerName)
-
name
public String name()
-
statistics
public CacheContainerConfigurationBuilder statistics(boolean statistics)
-
statistics
@Deprecated public CacheContainerConfigurationBuilder statistics(Boolean statistics)
Deprecated.Since 10.1.3. Usestatistics(boolean)
instead.
-
statistics
public boolean statistics()
-
asyncExecutor
public CacheContainerConfigurationBuilder asyncExecutor(String name)
-
persistenceExecutor
public CacheContainerConfigurationBuilder persistenceExecutor(String name)
-
stateTransferExecutor
@Deprecated public CacheContainerConfigurationBuilder stateTransferExecutor(String name)
Deprecated.Since 10.1, no longer used.
-
validate
public void validate()
Description copied from interface:Builder
Validate the data in this builder before building the configuration bean
-
create
public org.infinispan.configuration.global.CacheContainerConfiguration create()
Description copied from interface:Builder
Create the configuration bean
-
read
public Builder<?> read(org.infinispan.configuration.global.CacheContainerConfiguration template)
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
-
getGlobalConfig
protected GlobalConfigurationBuilder getGlobalConfig()
-
site
public SiteConfigurationBuilder site()
Description copied from interface:GlobalConfigurationChildBuilder
Cross-site replication configuration- Specified by:
site
in interfaceGlobalConfigurationChildBuilder
-
modules
public List<Builder<?>> modules()
Description copied from interface:GlobalConfigurationChildBuilder
Global modules configuration- Specified by:
modules
in interfaceGlobalConfigurationChildBuilder
-
defaultCacheName
public GlobalConfigurationBuilder defaultCacheName(String defaultCacheName)
Description copied from interface:GlobalConfigurationChildBuilder
Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache()
. Not- Specified by:
defaultCacheName
in interfaceGlobalConfigurationChildBuilder
-
build
public GlobalConfiguration build()
Description copied from interface:GlobalConfigurationChildBuilder
Builds aGlobalConfiguration
object using the settings applied to this builder- Specified by:
build
in interfaceGlobalConfigurationChildBuilder
-
-