Class JDKManagementCacheKeyProvider
java.lang.Object
org.jolokia.server.core.service.api.AbstractJolokiaService<CacheKeyProvider>
org.jolokia.service.jmx.api.CacheKeyProvider
org.jolokia.service.jmx.handler.list.JDKManagementCacheKeyProvider
- All Implemented Interfaces:
Comparable<CacheKeyProvider>,org.jolokia.server.core.service.api.JolokiaService<CacheKeyProvider>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jolokia.server.core.service.api.JolokiaService
org.jolokia.server.core.service.api.JolokiaService.Init -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineKey(ObjectInstance objectInstance) By providing a non-null key for anObjectInstancean extension may tell Jolokia that the JSON data forMBeanInfocan be shared with otherinstancesthat use the same cache key.Methods inherited from class org.jolokia.server.core.service.api.AbstractJolokiaService
compareTo, destroy, getJolokiaContext, getOrder, getType, init, isEnabled, registerJolokiaMBean, unregisterJolokiaMBeanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.jolokia.server.core.service.api.JolokiaService
destroy, getOrder, getType, init, isEnabled
-
Constructor Details
-
JDKManagementCacheKeyProvider
public JDKManagementCacheKeyProvider(int pOrderId)
-
-
Method Details
-
determineKey
Description copied from class:CacheKeyProviderBy providing a non-null key for anObjectInstancean extension may tell Jolokia that the JSON data forMBeanInfocan be shared with otherinstancesthat use the same cache key. This heavily optimizes memory usage and size oflist()response.- Specified by:
determineKeyin classCacheKeyProvider- Returns:
-