Class ThreadsConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
org.infinispan.configuration.global.ThreadsConfigurationBuilder
- All Implemented Interfaces:
Builder<ThreadsConfiguration>,GlobalConfigurationChildBuilder
public class ThreadsConfigurationBuilder
extends AbstractGlobalConfigurationBuilder
implements Builder<ThreadsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionaddBoundedThreadPool(String name) addCachedThreadPool(String name) addScheduledThreadPool(String name) addThreadFactory(String name) Configuration for the asynchronous operations thread poolConfiguration for the blocking thread poolcreate()Create the configuration beanConfiguration for the expiration thread poolgetThreadFactory(String threadFactoryName) getThreadPool(String threadFactoryName) Configuration for the listener thread poolConfiguration for the non blocking thread poolConfiguration for the persistence thread poolread(ThreadsConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, no longer used.Methods inherited from class org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
addModule, build, clearModules, defaultCacheName, getGlobalConfig, globalState, jmx, metrics, module, modules, security, serialization, shutdown, site, tracing, transport
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<ThreadsConfiguration>
-
addThreadFactory
-
addBoundedThreadPool
-
addScheduledThreadPool
-
addCachedThreadPool
-
asyncThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the asynchronous operations thread pool- Specified by:
asyncThreadPoolin interfaceGlobalConfigurationChildBuilder- Overrides:
asyncThreadPoolin classAbstractGlobalConfigurationBuilder
-
expirationThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the expiration thread pool- Specified by:
expirationThreadPoolin interfaceGlobalConfigurationChildBuilder- Overrides:
expirationThreadPoolin classAbstractGlobalConfigurationBuilder
-
listenerThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the listener thread pool- Specified by:
listenerThreadPoolin interfaceGlobalConfigurationChildBuilder- Overrides:
listenerThreadPoolin classAbstractGlobalConfigurationBuilder
-
persistenceThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the persistence thread pool- Specified by:
persistenceThreadPoolin interfaceGlobalConfigurationChildBuilder- Overrides:
persistenceThreadPoolin classAbstractGlobalConfigurationBuilder
-
remoteCommandThreadPool
-
transportThreadPool
@Deprecated(forRemoval=true, since="11.0") public ThreadPoolConfigurationBuilder transportThreadPool()Deprecated, for removal: This API element is subject to removal in a future version.Since 11.0, no longer used. -
nonBlockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the non blocking thread pool- Specified by:
nonBlockingThreadPoolin interfaceGlobalConfigurationChildBuilder- Overrides:
nonBlockingThreadPoolin classAbstractGlobalConfigurationBuilder
-
blockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the blocking thread pool- Specified by:
blockingThreadPoolin interfaceGlobalConfigurationChildBuilder- Overrides:
blockingThreadPoolin classAbstractGlobalConfigurationBuilder
-
read
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<ThreadsConfiguration>- 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.
-
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<ThreadsConfiguration>- Returns:
-
nodeName
-
getThreadFactory
-
getThreadPool
-