Class JvmMetricsGenerator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bindTo​(io.micrometer.core.instrument.MeterRegistry registry)  
      void destroy()  
      java.util.Collection<io.micrometer.core.instrument.Tag> getTags()  
      void init​(java.util.Properties config)  
      void start()  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JvmMetricsGenerator

        public JvmMetricsGenerator()
      • JvmMetricsGenerator

        public JvmMetricsGenerator​(java.util.Collection<io.micrometer.core.instrument.Tag> tags)
    • Method Detail

      • bindTo

        public void bindTo​(io.micrometer.core.instrument.MeterRegistry registry)
        Specified by:
        bindTo in interface MetricBinder
      • init

        public void init​(java.util.Properties config)
                  throws java.lang.Exception
        Specified by:
        init in interface ManagementComponent
        Throws:
        java.lang.Exception
      • start

        public void start()
                   throws java.lang.Exception
        Specified by:
        start in interface ManagementComponent
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Specified by:
        stop in interface ManagementComponent
        Throws:
        java.lang.Exception
      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface ManagementComponent
        Throws:
        java.lang.Exception
      • getTags

        public java.util.Collection<io.micrometer.core.instrument.Tag> getTags()