public class GlobalJmxConfigurationBuilder extends GlobalJmxStatisticsConfigurationBuilder implements Builder<GlobalJmxConfiguration>
Modifier and Type | Method and Description |
---|---|
GlobalJmxConfigurationBuilder |
addProperty(String key,
String value) |
ThreadPoolConfigurationBuilder |
asyncThreadPool()
Configuration for the asynchronous operations thread pool
|
ThreadPoolConfigurationBuilder |
blockingThreadPool()
Configuration for the blocking thread pool
|
GlobalConfiguration |
build()
Builds a
GlobalConfiguration object using the settings applied to this builder |
GlobalJmxConfigurationBuilder |
cacheManagerName(String cacheManagerName)
Deprecated.
|
GlobalJmxConfiguration |
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
EmbeddedCacheManager.getCache() . |
GlobalJmxConfigurationBuilder |
disable()
Disables JMX in the cache manager.
|
GlobalJmxConfigurationBuilder |
domain(String domain)
If JMX is enabled then all 'published' JMX objects will appear under this name.
|
GlobalJmxConfigurationBuilder |
enable()
Enables JMX in the cache manager.
|
boolean |
enabled() |
GlobalJmxConfigurationBuilder |
enabled(boolean enabled)
Enables JMX in the cache manager.
|
ThreadPoolConfigurationBuilder |
expirationThreadPool()
Configuration for the expiration thread pool
|
protected GlobalConfigurationBuilder |
getGlobalConfig() |
GlobalStateConfigurationBuilder |
globalState()
Global state configuration
|
GlobalJmxConfigurationBuilder |
jmx()
Global JMX configuration.
|
ThreadPoolConfigurationBuilder |
listenerThreadPool()
Configuration for the listener thread pool
|
GlobalJmxConfigurationBuilder |
mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)
Sets the instance of the
MBeanServerLookup class to be used to bound JMX MBeans
to. |
GlobalMetricsConfigurationBuilder |
metrics()
Global microprofile metrics configuration.
|
List<Builder<?>> |
modules()
Global modules configuration
|
ThreadPoolConfigurationBuilder |
nonBlockingThreadPool()
Configuration for the non blocking thread pool
|
ThreadPoolConfigurationBuilder |
persistenceThreadPool()
Configuration for the persistence thread pool
|
GlobalJmxConfigurationBuilder |
read(GlobalJmxConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
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
|
GlobalJmxConfigurationBuilder |
withProperties(Properties properties)
Sets properties which are then passed to the MBean Server Lookup implementation specified.
|
jmxDomain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
globalJmxStatistics
public GlobalJmxConfigurationBuilder withProperties(Properties properties)
withProperties
in class GlobalJmxStatisticsConfigurationBuilder
properties
- properties to pass to the MBean Server Lookuppublic GlobalJmxConfigurationBuilder addProperty(String key, String value)
addProperty
in class GlobalJmxStatisticsConfigurationBuilder
public GlobalJmxConfigurationBuilder domain(String domain)
domain
in class GlobalJmxStatisticsConfigurationBuilder
domain
- @Deprecated public GlobalJmxConfigurationBuilder cacheManagerName(String cacheManagerName)
GlobalConfigurationBuilder.cacheManagerName(String)
insteadcacheManagerName
in class GlobalJmxStatisticsConfigurationBuilder
public GlobalJmxConfigurationBuilder mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)
MBeanServerLookup
class to be used to bound JMX MBeans
to.mBeanServerLookup
in class GlobalJmxStatisticsConfigurationBuilder
mBeanServerLookupInstance
- An instance of MBeanServerLookup
public GlobalJmxConfigurationBuilder disable()
disable
in class GlobalJmxStatisticsConfigurationBuilder
public GlobalJmxConfigurationBuilder enable()
enable
in class GlobalJmxStatisticsConfigurationBuilder
public GlobalJmxConfigurationBuilder enabled(boolean enabled)
enabled
in class GlobalJmxStatisticsConfigurationBuilder
public boolean enabled()
public void validate()
Builder
validate
in interface Builder<GlobalJmxConfiguration>
public GlobalJmxConfiguration create()
Builder
create
in interface Builder<GlobalJmxConfiguration>
public GlobalJmxConfigurationBuilder read(GlobalJmxConfiguration template)
Builder
read
in interface Builder<GlobalJmxConfiguration>
template
- the configuration from which to "clone" this config if needed.protected GlobalConfigurationBuilder getGlobalConfig()
public TransportConfigurationBuilder transport()
GlobalConfigurationChildBuilder
transport
in interface GlobalConfigurationChildBuilder
public GlobalMetricsConfigurationBuilder metrics()
GlobalConfigurationChildBuilder
metrics
in interface GlobalConfigurationChildBuilder
public GlobalJmxConfigurationBuilder jmx()
GlobalConfigurationChildBuilder
jmx
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 expirationThreadPool()
GlobalConfigurationChildBuilder
expirationThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder persistenceThreadPool()
GlobalConfigurationChildBuilder
persistenceThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder stateTransferThreadPool()
GlobalConfigurationChildBuilder
stateTransferThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder blockingThreadPool()
GlobalConfigurationChildBuilder
blockingThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder nonBlockingThreadPool()
GlobalConfigurationChildBuilder
nonBlockingThreadPool
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
EmbeddedCacheManager.getCache()
. NotdefaultCacheName
in interface GlobalConfigurationChildBuilder
public GlobalConfiguration build()
GlobalConfigurationChildBuilder
GlobalConfiguration
object using the settings applied to this builderbuild
in interface GlobalConfigurationChildBuilder
Copyright © 2021 JBoss by Red Hat. All rights reserved.