Class ThreadPoolConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
org.infinispan.configuration.global.ThreadPoolConfigurationBuilder
- All Implemented Interfaces:
Builder<ThreadPoolConfiguration>,GlobalConfigurationChildBuilder
public class ThreadPoolConfigurationBuilder
extends AbstractGlobalConfigurationBuilder
implements Builder<ThreadPoolConfiguration>
- Author:
- Galder Zamarreño
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create the configuration beanbooleaninthashCode()read(ThreadPoolConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.threadFactory(ThreadFactory threadFactory) threadPoolFactory(ThreadPoolExecutorFactory threadPoolFactory) voidvalidate()Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
addModule, asyncThreadPool, blockingThreadPool, build, clearModules, defaultCacheName, expirationThreadPool, getGlobalConfig, globalState, jmx, listenerThreadPool, metrics, module, modules, nonBlockingThreadPool, persistenceThreadPool, security, serialization, shutdown, site, tracing, transport
-
Constructor Details
-
ThreadPoolConfigurationBuilder
-
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<ThreadPoolConfiguration>
-
validate
public void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
validatein interfaceBuilder<ThreadPoolConfiguration>
-
name
-
threadFactory
-
threadPoolFactory
public ThreadPoolConfigurationBuilder threadPoolFactory(ThreadPoolExecutorFactory threadPoolFactory) -
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<ThreadPoolConfiguration>- Returns:
-
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<ThreadPoolConfiguration>- 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.
-
equals
-
hashCode
-