public final class JvmPerformanceCountersModule extends AbstractPerformanceCounterModule implements PerformanceCounterConfigurationAware
<PerformanceCounters>
<UseBuiltIn>false</UseBuiltIn>
</PerformanceCounters>
All Jvm PCs can be disabled like this, without disabling the other built in performance counters:
<PerformanceCounters>
<Jvm enabled="false"/>
</PerformanceCounters>
A specific Jvm counter can be disabled like this:
<PerformanceCounters>
<Jvm>
<JvmPC name="ThreadDeadLockDetector" enabled="false"/>
</Jvm>
</PerformanceCounters>
Created by gupele on 8/7/2016.factory
Constructor and Description |
---|
JvmPerformanceCountersModule() |
JvmPerformanceCountersModule(PerformanceCountersFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationData(PerformanceCountersXmlElement configuration) |
initialize
public JvmPerformanceCountersModule() throws java.lang.Exception
java.lang.Exception
public JvmPerformanceCountersModule(PerformanceCountersFactory factory) throws java.lang.Exception
java.lang.Exception
public void addConfigurationData(PerformanceCountersXmlElement configuration)
addConfigurationData
in interface PerformanceCounterConfigurationAware