Class BoundedThreadPoolConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.BoundedThreadPoolConfigurationBuilder
- All Implemented Interfaces:
Builder<org.infinispan.configuration.global.BoundedThreadPoolConfiguration>
,GlobalConfigurationChildBuilder
,ThreadPoolBuilderAdapter
public class BoundedThreadPoolConfigurationBuilder
extends Object
implements Builder<org.infinispan.configuration.global.BoundedThreadPoolConfiguration>, ThreadPoolBuilderAdapter
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the asynchronous operations thread poolConfiguration for the blocking thread poolbuild()
Builds aGlobalConfiguration
object using the settings applied to this buildercoreThreads
(Integer coreThreads) org.infinispan.configuration.global.BoundedThreadPoolConfiguration
create()
Create the configuration beandefaultCacheName
(String defaultCacheName) Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache()
.Configuration for the expiration thread poolprotected GlobalConfigurationBuilder
Global state configurationjmx()
Global JMX configuration.keepAliveTime
(Long keepAlive) Configuration for the listener thread poolmaxThreads
(Integer maxThreads) metrics()
Global metrics configuration.modules()
Global modules configurationname()
nonBlocking
(Boolean nonBlocking) Configuration for the non blocking thread poolConfiguration for the persistence thread poolqueueLength
(Integer queueLength) 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 configurationthreadFactory
(String threadFactory) toString()
tracing()
Global tracing configuration.Transport-related (i.e.
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<org.infinispan.configuration.global.BoundedThreadPoolConfiguration>
-
threadFactory
-
maxThreads
-
maxThreads
-
coreThreads
-
coreThreads
-
keepAliveTime
-
keepAliveTime
-
queueLength
-
queueLength
-
nonBlocking
-
isNonBlocking
-
name
-
create
public org.infinispan.configuration.global.BoundedThreadPoolConfiguration create()Description copied from interface:Builder
Create the configuration bean -
read
public BoundedThreadPoolConfigurationBuilder read(org.infinispan.configuration.global.BoundedThreadPoolConfiguration template, Combine combine) 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 -
threadFactory
-
toString
-
asThreadPoolConfigurationBuilder
- Specified by:
asThreadPoolConfigurationBuilder
in interfaceThreadPoolBuilderAdapter
-
getGlobalConfig
-
transport
Description copied from interface:GlobalConfigurationChildBuilder
Transport-related (i.e. clustering) configuration- Specified by:
transport
in interfaceGlobalConfigurationChildBuilder
-
metrics
Description copied from interface:GlobalConfigurationChildBuilder
Global metrics configuration.- Specified by:
metrics
in interfaceGlobalConfigurationChildBuilder
-
tracing
Description copied from interface:GlobalConfigurationChildBuilder
Global tracing configuration.- Specified by:
tracing
in interfaceGlobalConfigurationChildBuilder
-
jmx
Description copied from interface:GlobalConfigurationChildBuilder
Global JMX configuration.- Specified by:
jmx
in interfaceGlobalConfigurationChildBuilder
-
globalState
Description copied from interface:GlobalConfigurationChildBuilder
Global state configuration- Specified by:
globalState
in interfaceGlobalConfigurationChildBuilder
-
serialization
Description copied from interface:GlobalConfigurationChildBuilder
Global serialization (i.e. marshalling) configuration- Specified by:
serialization
in interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the listener thread pool- Specified by:
listenerThreadPool
in interfaceGlobalConfigurationChildBuilder
-
asyncThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the asynchronous operations thread pool- Specified by:
asyncThreadPool
in interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the expiration thread pool- Specified by:
expirationThreadPool
in interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the persistence thread pool- Specified by:
persistenceThreadPool
in interfaceGlobalConfigurationChildBuilder
-
blockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the blocking thread pool- Specified by:
blockingThreadPool
in interfaceGlobalConfigurationChildBuilder
-
nonBlockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilder
Configuration for the non blocking thread pool- Specified by:
nonBlockingThreadPool
in interfaceGlobalConfigurationChildBuilder
-
security
Description copied from interface:GlobalConfigurationChildBuilder
Security-related configuration- Specified by:
security
in interfaceGlobalConfigurationChildBuilder
-
shutdown
Description copied from interface:GlobalConfigurationChildBuilder
Shutdown configuration- Specified by:
shutdown
in interfaceGlobalConfigurationChildBuilder
-
site
Description copied from interface:GlobalConfigurationChildBuilder
Cross-site replication configuration- Specified by:
site
in interfaceGlobalConfigurationChildBuilder
-
modules
Description copied from interface:GlobalConfigurationChildBuilder
Global modules configuration- Specified by:
modules
in interfaceGlobalConfigurationChildBuilder
-
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
Description copied from interface:GlobalConfigurationChildBuilder
Builds aGlobalConfiguration
object using the settings applied to this builder- Specified by:
build
in interfaceGlobalConfigurationChildBuilder
-