Class GlobalJmxConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.GlobalJmxStatisticsConfigurationBuilder
org.infinispan.configuration.global.GlobalJmxConfigurationBuilder
- All Implemented Interfaces:
Builder<GlobalJmxConfiguration>,GlobalConfigurationChildBuilder
public class GlobalJmxConfigurationBuilder
extends GlobalJmxStatisticsConfigurationBuilder
implements Builder<GlobalJmxConfiguration>
Configures JMX for the cache manager and its caches.
- Since:
- 10.1.3
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty(String key, String value) Configuration for the asynchronous operations thread poolConfiguration for the blocking thread poolbuild()Builds aGlobalConfigurationobject using the settings applied to this buildercacheManagerName(String cacheManagerName) Deprecated, for removal: This API element is subject to removal in a future version.create()Create the configuration beandefaultCacheName(String defaultCacheName) Sets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache().disable()Disables JMX in the cache manager.If JMX is enabled then all 'published' JMX objects will appear under this name.enable()Enables JMX in the cache manager.booleanenabled()enabled(boolean enabled) Enables JMX in the cache manager.Configuration for the expiration thread poolprotected GlobalConfigurationBuilderGlobal state configurationjmx()Global JMX configuration.Configuration for the listener thread poolmBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance) Sets the instance of theMBeanServerLookupclass to be used to bound JMX MBeans to.metrics()Global metrics configuration.modules()Global modules configurationConfiguration for the non blocking thread poolConfiguration for the persistence thread poolread(GlobalJmxConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.security()Security-related configurationGlobal serialization (i.e.shutdown()Shutdown configurationsite()Cross-site replication configurationConfiguration for the state-transfer thread pooltoString()Transport-related (i.e.withProperties(Properties properties) Sets properties which are then passed to the MBean Server Lookup implementation specified.Methods inherited from class org.infinispan.configuration.global.GlobalJmxStatisticsConfigurationBuilder
jmxDomainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.configuration.global.GlobalConfigurationChildBuilder
globalJmxStatistics
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<GlobalJmxConfiguration>
-
withProperties
Sets properties which are then passed to the MBean Server Lookup implementation specified.- Specified by:
withPropertiesin classGlobalJmxStatisticsConfigurationBuilder- Parameters:
properties- properties to pass to the MBean Server Lookup
-
addProperty
- Specified by:
addPropertyin classGlobalJmxStatisticsConfigurationBuilder
-
domain
If JMX is enabled then all 'published' JMX objects will appear under this name. This is optional, if not specified a default domain name will be set by default.- Specified by:
domainin classGlobalJmxStatisticsConfigurationBuilder- Parameters:
domain-
-
cacheManagerName
@Deprecated(forRemoval=true) public GlobalJmxConfigurationBuilder cacheManagerName(String cacheManagerName) Deprecated, for removal: This API element is subject to removal in a future version.If JMX is enabled, this property represents the name of this cache manager. It offers the possibility for clients to provide a user-defined name to the cache manager which later can be used to identify the cache manager within a JMX based management tool amongst other cache managers that might be running under the same JVM.- Specified by:
cacheManagerNamein classGlobalJmxStatisticsConfigurationBuilder
-
mBeanServerLookup
Sets the instance of theMBeanServerLookupclass to be used to bound JMX MBeans to.- Specified by:
mBeanServerLookupin classGlobalJmxStatisticsConfigurationBuilder- Parameters:
mBeanServerLookupInstance- An instance ofMBeanServerLookup
-
disable
Disables JMX in the cache manager.- Specified by:
disablein classGlobalJmxStatisticsConfigurationBuilder
-
enable
Enables JMX in the cache manager.- Specified by:
enablein classGlobalJmxStatisticsConfigurationBuilder
-
enabled
Enables JMX in the cache manager.- Specified by:
enabledin classGlobalJmxStatisticsConfigurationBuilder
-
enabled
public boolean enabled() -
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<GlobalJmxConfiguration>- 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<GlobalJmxConfiguration>- 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.
-
toString
-
getGlobalConfig
-
transport
Description copied from interface:GlobalConfigurationChildBuilderTransport-related (i.e. clustering) configuration- Specified by:
transportin interfaceGlobalConfigurationChildBuilder
-
metrics
Description copied from interface:GlobalConfigurationChildBuilderGlobal metrics configuration.- Specified by:
metricsin interfaceGlobalConfigurationChildBuilder
-
jmx
Description copied from interface:GlobalConfigurationChildBuilderGlobal JMX configuration.- Specified by:
jmxin interfaceGlobalConfigurationChildBuilder
-
globalState
Description copied from interface:GlobalConfigurationChildBuilderGlobal state configuration- Specified by:
globalStatein interfaceGlobalConfigurationChildBuilder
-
serialization
Description copied from interface:GlobalConfigurationChildBuilderGlobal serialization (i.e. marshalling) configuration- Specified by:
serializationin interfaceGlobalConfigurationChildBuilder
-
listenerThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the listener thread pool- Specified by:
listenerThreadPoolin interfaceGlobalConfigurationChildBuilder
-
asyncThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the asynchronous operations thread pool- Specified by:
asyncThreadPoolin interfaceGlobalConfigurationChildBuilder
-
expirationThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the expiration thread pool- Specified by:
expirationThreadPoolin interfaceGlobalConfigurationChildBuilder
-
persistenceThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the persistence thread pool- Specified by:
persistenceThreadPoolin interfaceGlobalConfigurationChildBuilder
-
stateTransferThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the state-transfer thread pool- Specified by:
stateTransferThreadPoolin interfaceGlobalConfigurationChildBuilder
-
blockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the blocking thread pool- Specified by:
blockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
nonBlockingThreadPool
Description copied from interface:GlobalConfigurationChildBuilderConfiguration for the non blocking thread pool- Specified by:
nonBlockingThreadPoolin interfaceGlobalConfigurationChildBuilder
-
security
Description copied from interface:GlobalConfigurationChildBuilderSecurity-related configuration- Specified by:
securityin interfaceGlobalConfigurationChildBuilder
-
shutdown
Description copied from interface:GlobalConfigurationChildBuilderShutdown configuration- Specified by:
shutdownin interfaceGlobalConfigurationChildBuilder
-
site
Description copied from interface:GlobalConfigurationChildBuilderCross-site replication configuration- Specified by:
sitein interfaceGlobalConfigurationChildBuilder
-
modules
Description copied from interface:GlobalConfigurationChildBuilderGlobal modules configuration- Specified by:
modulesin interfaceGlobalConfigurationChildBuilder
-
defaultCacheName
Description copied from interface:GlobalConfigurationChildBuilderSets the name of the cache that acts as the default cache and is returned byEmbeddedCacheManager.getCache(). Not- Specified by:
defaultCacheNamein interfaceGlobalConfigurationChildBuilder
-
build
Description copied from interface:GlobalConfigurationChildBuilderBuilds aGlobalConfigurationobject using the settings applied to this builder- Specified by:
buildin interfaceGlobalConfigurationChildBuilder
-
GlobalConfigurationBuilder.cacheManagerName(String)instead