Class BoundedThreadPoolConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
org.infinispan.configuration.global.BoundedThreadPoolConfigurationBuilder
- All Implemented Interfaces:
Builder<org.infinispan.configuration.global.BoundedThreadPoolConfiguration>
,GlobalConfigurationChildBuilder
,ThreadPoolBuilderAdapter
public class BoundedThreadPoolConfigurationBuilder
extends AbstractGlobalConfigurationBuilder
implements Builder<org.infinispan.configuration.global.BoundedThreadPoolConfiguration>, ThreadPoolBuilderAdapter
-
Method Summary
Modifier and TypeMethodDescriptioncoreThreads
(Integer coreThreads) org.infinispan.configuration.global.BoundedThreadPoolConfiguration
create()
Create the configuration beankeepAliveTime
(Long keepAlive) maxThreads
(Integer maxThreads) name()
nonBlocking
(Boolean nonBlocking) queueLength
(Integer queueLength) Reads the configuration from an already created configuration bean into this builder.threadFactory
(String threadFactory) toString()
Methods 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
-
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
-
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
-