Package com.adaptris.rest.metrics.jvm
Class JvmMetricsGenerator
- java.lang.Object
-
- com.adaptris.core.management.MgmtComponentImpl
-
- com.adaptris.rest.metrics.jvm.JvmMetricsGenerator
-
- All Implemented Interfaces:
ManagementComponent,MetricBinder
public class JvmMetricsGenerator extends MgmtComponentImpl implements MetricBinder
-
-
Field Summary
-
Fields inherited from class com.adaptris.core.management.MgmtComponentImpl
log
-
-
Constructor Summary
Constructors Constructor Description JvmMetricsGenerator()JvmMetricsGenerator(java.util.Collection<io.micrometer.core.instrument.Tag> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbindTo(io.micrometer.core.instrument.MeterRegistry registry)voiddestroy()java.util.Collection<io.micrometer.core.instrument.Tag>getTags()voidinit(java.util.Properties config)voidstart()voidstop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.management.ManagementComponent
setClassLoader
-
-
-
-
Method Detail
-
bindTo
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
- Specified by:
bindToin interfaceMetricBinder
-
init
public void init(java.util.Properties config) throws java.lang.Exception- Specified by:
initin interfaceManagementComponent- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Specified by:
startin interfaceManagementComponent- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception- Specified by:
stopin interfaceManagementComponent- Throws:
java.lang.Exception
-
destroy
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceManagementComponent- Throws:
java.lang.Exception
-
getTags
public java.util.Collection<io.micrometer.core.instrument.Tag> getTags()
-
-