org.infinispan.config
Interface FluentGlobalConfiguration.GlobalJmxStatisticsConfig

All Known Implementing Classes:
GlobalConfiguration.GlobalJmxStatisticsType
Enclosing class:
FluentGlobalConfiguration

public static interface FluentGlobalConfiguration.GlobalJmxStatisticsConfig

Configures whether global statistics are gathered and reported via JMX for all caches under this cache manager.


Method Summary
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig addProperty(String key, String value)
           
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig allowDuplicateDomains(Boolean allowDuplicateDomains)
          If true, multiple cache manager instances could be configured under the same configured JMX domain.
 FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()
           
 FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()
           
 GlobalConfiguration build()
           
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig cacheManagerName(String cacheManagerName)
          If JMX statistics are enabled, this property represents the name of this cache manager.
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig disable()
           
 FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()
           
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
          This method allows configuration of the global, or cache manager level, jmx statistics.
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig jmxDomain(String jmxDomain)
          If JMX statistics are enabled then all 'published' JMX objects will appear under this name.
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)
          Sets the instance of the MBeanServerLookup class to be used to bound JMX MBeans to.
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig mBeanServerLookupClass(Class<? extends MBeanServerLookup> mbeanServerLookupClass)
          Instance of class that will attempt to locate a JMX MBean server to bind to
 FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()
           
 FluentGlobalConfiguration.SerializationConfig serialization()
           
 FluentGlobalConfiguration.ShutdownConfig shutdown()
           
 FluentGlobalConfiguration.TransportConfig transport()
           
 FluentGlobalConfiguration.GlobalJmxStatisticsConfig withProperties(Properties properties)
          Sets properties which are then passed to the MBean Server Lookup implementation specified.
 

Method Detail

withProperties

FluentGlobalConfiguration.GlobalJmxStatisticsConfig withProperties(Properties properties)
Sets properties which are then passed to the MBean Server Lookup implementation specified.

Parameters:
properties - properties to pass to the MBean Server Lookup

addProperty

FluentGlobalConfiguration.GlobalJmxStatisticsConfig addProperty(String key,
                                                                String value)

jmxDomain

FluentGlobalConfiguration.GlobalJmxStatisticsConfig jmxDomain(String jmxDomain)
If JMX statistics are enabled then all 'published' JMX objects will appear under this name. This is optional, if not specified an object name will be created for you by default.

Parameters:
jmxDomain -

mBeanServerLookupClass

FluentGlobalConfiguration.GlobalJmxStatisticsConfig mBeanServerLookupClass(Class<? extends MBeanServerLookup> mbeanServerLookupClass)
Instance of class that will attempt to locate a JMX MBean server to bind to

Parameters:
mbeanServerLookupClass - MBean Server Lookup class implementation

allowDuplicateDomains

FluentGlobalConfiguration.GlobalJmxStatisticsConfig allowDuplicateDomains(Boolean allowDuplicateDomains)
If true, multiple cache manager instances could be configured under the same configured JMX domain. Each cache manager will in practice use a different JMX domain that has been calculated based on the configured one by adding an incrementing index to it.

Parameters:
allowDuplicateDomains -

cacheManagerName

FluentGlobalConfiguration.GlobalJmxStatisticsConfig cacheManagerName(String cacheManagerName)
If JMX statistics are 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.

Parameters:
cacheManagerName -

mBeanServerLookup

FluentGlobalConfiguration.GlobalJmxStatisticsConfig mBeanServerLookup(MBeanServerLookup mBeanServerLookupInstance)
Sets the instance of the MBeanServerLookup class to be used to bound JMX MBeans to.

Parameters:
mBeanServerLookupInstance - An instance of MBeanServerLookup

disable

FluentGlobalConfiguration.GlobalJmxStatisticsConfig disable()

transport

FluentGlobalConfiguration.TransportConfig transport()

globalJmxStatistics

FluentGlobalConfiguration.GlobalJmxStatisticsConfig globalJmxStatistics()
This method allows configuration of the global, or cache manager level, jmx statistics. When this method is called, it automatically enables global jmx statistics. So, if you want it to be disabled, make sure you call disable()


serialization

FluentGlobalConfiguration.SerializationConfig serialization()

asyncTransportExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncTransportExecutor()

asyncListenerExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ExecutorFactory> asyncListenerExecutor()

evictionScheduledExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> evictionScheduledExecutor()

replicationQueueScheduledExecutor

FluentGlobalConfiguration.ExecutorFactoryConfig<ScheduledExecutorFactory> replicationQueueScheduledExecutor()

shutdown

FluentGlobalConfiguration.ShutdownConfig shutdown()

build

GlobalConfiguration build()

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.