Class DefaultJmxService
java.lang.Object
com.atlassian.diagnostics.internal.jmx.DefaultJmxService
- All Implemented Interfaces:
JmxService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TgetJmxAttribute(String instanceOfQuery, String attributeName) <T> List<T> getJmxAttributes(String instanceOfQuery, String[] attributeNames) booleanhasObjectName(String instanceOfQuery)
-
Constructor Details
-
DefaultJmxService
public DefaultJmxService()
-
-
Method Details
-
getThreadMXBean
- Specified by:
getThreadMXBeanin interfaceJmxService
-
getMemoryPoolMXBeans
- Specified by:
getMemoryPoolMXBeansin interfaceJmxService
-
getGarbageCollectorMXBeans
- Specified by:
getGarbageCollectorMXBeansin interfaceJmxService
-
hasObjectName
- Specified by:
hasObjectNamein interfaceJmxService
-
getJmxAttribute
@Nullable public <T> T getJmxAttribute(@Nonnull String instanceOfQuery, @Nonnull String attributeName) - Specified by:
getJmxAttributein interfaceJmxService
-
getJmxAttributes
@Nonnull public <T> List<T> getJmxAttributes(@Nonnull String instanceOfQuery, @Nonnull String[] attributeNames) - Specified by:
getJmxAttributesin interfaceJmxService
-