|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.config.AbstractConfigurationBean
org.infinispan.config.GlobalConfiguration.GlobalJmxStatisticsType
public static class GlobalConfiguration.GlobalJmxStatisticsType
This element specifies whether global statistics are gathered and reported via JMX for all caches under this cache manager.
Field Summary | |
---|---|
protected Boolean |
allowDuplicateDomains
|
protected String |
cacheManagerName
|
protected Boolean |
enabled
|
protected String |
jmxDomain
|
protected String |
mBeanServerLookup
|
protected TypedProperties |
properties
|
Fields inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
EMPTY_PROPERTIES, log, overriddenConfigurationElements |
Constructor Summary | |
---|---|
GlobalConfiguration.GlobalJmxStatisticsType()
|
Method Summary | |
---|---|
void |
accept(ConfigurationBeanVisitor v)
|
GlobalConfiguration.GlobalJmxStatisticsConfig |
allowDuplicateDomains(Boolean allowDuplicateDomains)
If true, multiple cache manager instances could be configured under the same configured JMX domain. |
GlobalConfiguration.GlobalJmxStatisticsConfig |
cacheManagerName(String cacheManagerName)
If JMX statistics are enabled, this property represents the name of this cache manager. |
CloneableConfigurationComponent |
clone()
|
GlobalConfiguration.GlobalJmxStatisticsConfig |
enabled(Boolean enabled)
Toggle to enable/disable global statistics being exported via JMX |
MBeanServerLookup |
getMBeanServerLookupInstance()
|
protected boolean |
hasComponentStarted()
Tests whether the component this configuration bean intents to configure has already started. |
void |
inject(GlobalComponentRegistry gcr)
|
GlobalConfiguration.GlobalJmxStatisticsConfig |
jmxDomain(String jmxDomain)
If JMX statistics are enabled then all 'published' JMX objects will appear under this name. |
GlobalConfiguration.GlobalJmxStatisticsConfig |
mBeanServerLookup(Class<? extends MBeanServerLookup> beanServerLookupClass)
Instance of class that will attempt to locate a JMX MBean server to bind to |
void |
setAllowDuplicateDomains(Boolean allowDuplicateDomains)
|
void |
setCacheManagerName(String cacheManagerName)
|
void |
setEnabled(Boolean enabled)
|
void |
setJmxDomain(String jmxDomain)
|
void |
setMBeanServerLookup(String beanServerLookup)
|
void |
setMBeanServerLookupInstance(MBeanServerLookup MBeanServerLookupInstance)
|
GlobalConfiguration.GlobalJmxStatisticsConfig |
setProperties(Properties p)
Sets properties which are then passed to the MBean Server Lookup implementation specified. |
void |
setProperties(TypedProperties p)
|
GlobalConfiguration.GlobalJmxStatisticsConfig |
usingMBeanServerLookupInstance(MBeanServerLookup MBeanServerLookupInstance)
Sets the instance of the MBeanServerLookup class to be used to bound JMX MBeans to. |
Methods inherited from class org.infinispan.config.AbstractConfigurationBean |
---|
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Boolean enabled
protected String jmxDomain
protected String mBeanServerLookup
protected Boolean allowDuplicateDomains
protected String cacheManagerName
protected TypedProperties properties
Constructor Detail |
---|
public GlobalConfiguration.GlobalJmxStatisticsType()
Method Detail |
---|
public GlobalConfiguration.GlobalJmxStatisticsConfig enabled(Boolean enabled)
GlobalConfiguration.GlobalJmxStatisticsConfig
enabled
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public void setEnabled(Boolean enabled)
public void accept(ConfigurationBeanVisitor v)
public void setProperties(TypedProperties p)
public GlobalConfiguration.GlobalJmxStatisticsConfig jmxDomain(String jmxDomain)
GlobalConfiguration.GlobalJmxStatisticsConfig
jmxDomain
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public void setJmxDomain(String jmxDomain)
public GlobalConfiguration.GlobalJmxStatisticsConfig mBeanServerLookup(Class<? extends MBeanServerLookup> beanServerLookupClass)
GlobalConfiguration.GlobalJmxStatisticsConfig
mBeanServerLookup
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public void setMBeanServerLookup(String beanServerLookup)
public GlobalConfiguration.GlobalJmxStatisticsConfig allowDuplicateDomains(Boolean allowDuplicateDomains)
GlobalConfiguration.GlobalJmxStatisticsConfig
allowDuplicateDomains
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public void setAllowDuplicateDomains(Boolean allowDuplicateDomains)
public GlobalConfiguration.GlobalJmxStatisticsConfig cacheManagerName(String cacheManagerName)
GlobalConfiguration.GlobalJmxStatisticsConfig
cacheManagerName
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public void setCacheManagerName(String cacheManagerName)
public MBeanServerLookup getMBeanServerLookupInstance()
public void setMBeanServerLookupInstance(MBeanServerLookup MBeanServerLookupInstance)
public GlobalConfiguration.GlobalJmxStatisticsConfig setProperties(Properties p)
GlobalConfiguration.GlobalJmxStatisticsConfig
setProperties
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public GlobalConfiguration.GlobalJmxStatisticsConfig usingMBeanServerLookupInstance(MBeanServerLookup MBeanServerLookupInstance)
GlobalConfiguration.GlobalJmxStatisticsConfig
MBeanServerLookup
class to be used to bound JMX MBeans to.
usingMBeanServerLookupInstance
in interface GlobalConfiguration.GlobalJmxStatisticsConfig
public void inject(GlobalComponentRegistry gcr)
protected boolean hasComponentStarted()
AbstractConfigurationBean
hasComponentStarted
in class AbstractConfigurationBean
public CloneableConfigurationComponent clone() throws CloneNotSupportedException
clone
in interface CloneableConfigurationComponent
clone
in class AbstractConfigurationBean
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |