Class GlobalJmxConfigurationBuilder
java.lang.Object
org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
org.infinispan.configuration.global.GlobalJmxConfigurationBuilder
- All Implemented Interfaces:
Builder<GlobalJmxConfiguration>
,GlobalConfigurationChildBuilder
public class GlobalJmxConfigurationBuilder
extends AbstractGlobalConfigurationBuilder
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) create()
Create the configuration beandisable()
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.boolean
enabled()
enabled
(boolean enabled) Enables JMX in the cache manager.mBeanServerLookup
(MBeanServerLookup mBeanServerLookupInstance) Sets the instance of theMBeanServerLookup
class to be used to bound JMX MBeans to.read
(GlobalJmxConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.toString()
withProperties
(Properties properties) Sets properties which are then passed to the MBean Server Lookup implementation specified.Methods inherited from class org.infinispan.configuration.global.AbstractGlobalConfigurationBuilder
addModule, asyncThreadPool, blockingThreadPool, build, clearModules, defaultCacheName, expirationThreadPool, getGlobalConfig, globalState, jmx, listenerThreadPool, metrics, module, modules, nonBlockingThreadPool, persistenceThreadPool, security, serialization, shutdown, tracing, transport
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<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
Sets the instance of theMBeanServerLookup
class 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
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<GlobalJmxConfiguration>
- Returns:
-
read
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in 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
-