Class GlobalJmxConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
org.infinispan.configuration.global.GlobalJmxConfigurationBuilder
- All Implemented Interfaces:
org.infinispan.commons.configuration.Builder<GlobalJmxConfiguration>, GlobalConfigurationChildBuilder
public class GlobalJmxConfigurationBuilder
extends AbstractGlobalConfigurationBuilder
implements org.infinispan.commons.configuration.Builder<GlobalJmxConfiguration>
Configures JMX for the cache manager and its caches.
- Since:
- 10.1.3
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty(String key, String value) org.infinispan.commons.configuration.attributes.AttributeSetcreate()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.mBeanServerLookup(org.infinispan.commons.jmx.MBeanServerLookup mBeanServerLookupInstance) Sets the instance of theMBeanServerLookupclass to be used to bound JMX MBeans to.read(GlobalJmxConfiguration template, org.infinispan.commons.configuration.Combine combine) toString()withProperties(Properties properties) Sets properties which are then passed to the MBean Server Lookup implementation specified.Methods inherited from class AbstractGlobalConfigurationBuilder
addModule, asyncThreadPool, blockingThreadPool, build, clearModules, defaultCacheName, expirationThreadPool, getGlobalConfig, globalState, jmx, listenerThreadPool, metrics, module, modules, nonBlockingThreadPool, persistenceThreadPool, security, serialization, shutdown, tracing, transportMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commons.configuration.Builder
read, reset, validate
-
Method Details
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()- Specified by:
attributesin interfaceorg.infinispan.commons.configuration.Builder<GlobalJmxConfiguration>
-
withProperties
Sets properties which are then passed to the MBean Server Lookup implementation specified.- Parameters:
properties- properties to pass to the MBean Server Lookup
-
addProperty
-
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.- Parameters:
domain-
-
mBeanServerLookup
public GlobalJmxConfigurationBuilder mBeanServerLookup(org.infinispan.commons.jmx.MBeanServerLookup mBeanServerLookupInstance) Sets the instance of theMBeanServerLookupclass to be used to bound JMX MBeans to.- Parameters:
mBeanServerLookupInstance- An instance ofMBeanServerLookup
-
disable
Disables JMX in the cache manager. -
enable
Enables JMX in the cache manager. -
enabled
Enables JMX in the cache manager. -
enabled
public boolean enabled() -
create
- Specified by:
createin interfaceorg.infinispan.commons.configuration.Builder<GlobalJmxConfiguration>
-
read
public GlobalJmxConfigurationBuilder read(GlobalJmxConfiguration template, org.infinispan.commons.configuration.Combine combine) - Specified by:
readin interfaceorg.infinispan.commons.configuration.Builder<GlobalJmxConfiguration>
-
toString
-