public class ThreadPoolConfigurationBuilder extends Object implements Builder<ThreadPoolConfiguration>
Constructor and Description |
---|
ThreadPoolConfigurationBuilder(GlobalConfigurationBuilder globalConfig) |
public ThreadPoolConfigurationBuilder(GlobalConfigurationBuilder globalConfig)
public void validate()
Builder
validate
in interface Builder<ThreadPoolConfiguration>
public ThreadPoolConfigurationBuilder threadFactory(ThreadFactory threadFactory)
public ThreadPoolConfigurationBuilder threadPoolFactory(ThreadPoolExecutorFactory threadPoolFactory)
public ThreadPoolConfiguration create()
Builder
create
in interface Builder<ThreadPoolConfiguration>
public ThreadPoolConfigurationBuilder read(ThreadPoolConfiguration template)
Builder
read
in interface Builder<ThreadPoolConfiguration>
template
- the configuration from which to "clone" this config if needed.protected GlobalConfigurationBuilder getGlobalConfig()
public TransportConfigurationBuilder transport()
GlobalConfigurationChildBuilder
transport
in interface GlobalConfigurationChildBuilder
public GlobalJmxStatisticsConfigurationBuilder globalJmxStatistics()
GlobalConfigurationChildBuilder
globalJmxStatistics
in interface GlobalConfigurationChildBuilder
public GlobalStateConfigurationBuilder globalState()
GlobalConfigurationChildBuilder
globalState
in interface GlobalConfigurationChildBuilder
public SerializationConfigurationBuilder serialization()
GlobalConfigurationChildBuilder
serialization
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder listenerThreadPool()
GlobalConfigurationChildBuilder
listenerThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder asyncThreadPool()
GlobalConfigurationChildBuilder
asyncThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder replicationQueueThreadPool()
replicationQueueThreadPool
in interface GlobalConfigurationChildBuilder
@Deprecated public ThreadPoolConfigurationBuilder evictionThreadPool()
GlobalConfigurationChildBuilder
evictionThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder expirationThreadPool()
GlobalConfigurationChildBuilder
expirationThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder persistenceThreadPool()
GlobalConfigurationChildBuilder
persistenceThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder stateTransferThreadPool()
GlobalConfigurationChildBuilder
stateTransferThreadPool
in interface GlobalConfigurationChildBuilder
public GlobalSecurityConfigurationBuilder security()
GlobalConfigurationChildBuilder
security
in interface GlobalConfigurationChildBuilder
public ShutdownConfigurationBuilder shutdown()
GlobalConfigurationChildBuilder
shutdown
in interface GlobalConfigurationChildBuilder
public SiteConfigurationBuilder site()
GlobalConfigurationChildBuilder
site
in interface GlobalConfigurationChildBuilder
public List<Builder<?>> modules()
GlobalConfigurationChildBuilder
modules
in interface GlobalConfigurationChildBuilder
public GlobalConfigurationBuilder defaultCacheName(String defaultCacheName)
GlobalConfigurationChildBuilder
CacheContainer.getCache()
. NotdefaultCacheName
in interface GlobalConfigurationChildBuilder
public GlobalConfiguration build()
GlobalConfigurationChildBuilder
GlobalConfiguration
object using the settings applied to this builderbuild
in interface GlobalConfigurationChildBuilder
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.