public class GlobalJmxStatisticsConfigurationBuilder extends Object implements Builder<GlobalJmxStatisticsConfiguration>
Modifier and Type | Method and Description |
---|---|
GlobalJmxStatisticsConfigurationBuilder |
addProperty(String key,
String value) |
GlobalJmxStatisticsConfigurationBuilder |
allowDuplicateDomains(Boolean allowDuplicateDomains)
If true, multiple cache manager instances could be configured under the same configured JMX
domain.
|
ThreadPoolConfigurationBuilder |
asyncThreadPool()
Configuration for the asynchronous operations thread pool
|
GlobalConfiguration |
build()
Builds a
GlobalConfiguration object using the settings applied to this builder |
GlobalJmxStatisticsConfigurationBuilder |
cacheManagerName(String cacheManagerName)
If JMX statistics are enabled, this property represents the name of this cache manager.
|
GlobalJmxStatisticsConfiguration |
create()
Create the configuration bean
|
GlobalConfigurationBuilder |
defaultCacheName(String defaultCacheName)
Sets the name of the cache that acts as the default cache and is returned by
CacheContainer.getCache() . |
GlobalJmxStatisticsConfigurationBuilder |
disable() |
GlobalJmxStatisticsConfigurationBuilder |
enable() |
GlobalJmxStatisticsConfigurationBuilder |
enabled(boolean enabled) |
ThreadPoolConfigurationBuilder |
evictionThreadPool()
Deprecated.
|
ThreadPoolConfigurationBuilder |
expirationThreadPool()
Configuration for the expiration thread pool
|
protected GlobalConfigurationBuilder |
getGlobalConfig() |
GlobalJmxStatisticsConfigurationBuilder |
globalJmxStatistics()
Global JMX configuration
|
GlobalStateConfigurationBuilder |
globalState()
Global state configuration
|
GlobalJmxStatisticsConfigurationBuilder |
jmxDomain(String jmxDomain)
If JMX statistics are enabled then all 'published' JMX objects will appear under this name.
|
ThreadPoolConfigurationBuilder |
listenerThreadPool()
Configuration for the listener thread pool
|
GlobalJmxStatisticsConfigurationBuilder |
mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)
Sets the instance of the
MBeanServerLookup class to be used to bound JMX MBeans to. |
List<Builder<?>> |
modules()
Global modules configuration
|
ThreadPoolConfigurationBuilder |
persistenceThreadPool()
Configuration for the persistence thread pool
|
GlobalJmxStatisticsConfigurationBuilder |
read(GlobalJmxStatisticsConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
ThreadPoolConfigurationBuilder |
replicationQueueThreadPool() |
GlobalSecurityConfigurationBuilder |
security()
Security-related configuration
|
SerializationConfigurationBuilder |
serialization()
Global serialization (i.e.
|
ShutdownConfigurationBuilder |
shutdown()
Shutdown configuration
|
SiteConfigurationBuilder |
site()
Cross-site replication configuration
|
ThreadPoolConfigurationBuilder |
stateTransferThreadPool()
Configuration for the state-transfer thread pool
|
String |
toString() |
TransportConfigurationBuilder |
transport()
Transport-related (i.e.
|
void |
validate()
Validate the data in this builder before building the configuration bean
|
GlobalJmxStatisticsConfigurationBuilder |
withProperties(Properties properties)
Sets properties which are then passed to the MBean Server Lookup implementation specified.
|
public GlobalJmxStatisticsConfigurationBuilder withProperties(Properties properties)
properties
- properties to pass to the MBean Server Lookuppublic GlobalJmxStatisticsConfigurationBuilder addProperty(String key, String value)
public GlobalJmxStatisticsConfigurationBuilder jmxDomain(String jmxDomain)
jmxDomain
- public GlobalJmxStatisticsConfigurationBuilder allowDuplicateDomains(Boolean allowDuplicateDomains)
allowDuplicateDomains
- public GlobalJmxStatisticsConfigurationBuilder cacheManagerName(String cacheManagerName)
cacheManagerName
- public GlobalJmxStatisticsConfigurationBuilder mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)
MBeanServerLookup
class to be used to bound JMX MBeans to.mBeanServerLookupInstance
- An instance of MBeanServerLookup
public GlobalJmxStatisticsConfigurationBuilder disable()
public GlobalJmxStatisticsConfigurationBuilder enable()
public GlobalJmxStatisticsConfigurationBuilder enabled(boolean enabled)
public void validate()
Builder
validate
in interface Builder<GlobalJmxStatisticsConfiguration>
public GlobalJmxStatisticsConfiguration create()
Builder
create
in interface Builder<GlobalJmxStatisticsConfiguration>
public GlobalJmxStatisticsConfigurationBuilder read(GlobalJmxStatisticsConfiguration template)
Builder
read
in interface Builder<GlobalJmxStatisticsConfiguration>
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.