Class HostsGauge

  • All Implemented Interfaces:
    com.codahale.metrics.Gauge<java.lang.Integer>, com.codahale.metrics.Metric

    public class HostsGauge
    extends java.lang.Object
    implements com.codahale.metrics.Gauge<java.lang.Integer>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getValue()  
      • Methods inherited from class java.lang.Object

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

      • HostsGauge

        @Inject
        public HostsGauge​(ClusterState clusterState)
    • Method Detail

      • getValue

        public java.lang.Integer getValue()
        Specified by:
        getValue in interface com.codahale.metrics.Gauge<java.lang.Integer>