Class ServoControl

  • All Implemented Interfaces:
    com.netflix.servo.monitor.CompositeMonitor<java.lang.Long>, com.netflix.servo.monitor.Monitor<java.lang.Long>, com.netflix.servo.monitor.NumericMonitor<java.lang.Long>, com.netflix.servo.monitor.Timer

    public class ServoControl
    extends com.netflix.servo.monitor.StatsTimer
    The sole purpose of this class is shutting down the protected executor of StatsTimer
    • Field Summary

      • Fields inherited from class com.netflix.servo.monitor.StatsMonitor

        count, DEFAULT_EXECUTOR, totalMeasurement
      • Fields inherited from class com.netflix.servo.monitor.AbstractMonitor

        config
    • Constructor Summary

      Constructors 
      Constructor Description
      ServoControl​(com.netflix.servo.monitor.MonitorConfig baseConfig, com.netflix.servo.stats.StatsConfig statsConfig)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void shutdown()  
      • Methods inherited from class com.netflix.servo.monitor.StatsTimer

        equals, getCount, getTimeUnit, getTotalTime, hashCode, record, start, toString
      • Methods inherited from class com.netflix.servo.monitor.StatsMonitor

        getCount, getMonitors, getTotalMeasurement, getValue, getValue, handleException, record, startComputingStats
      • Methods inherited from class com.netflix.servo.monitor.AbstractMonitor

        getConfig
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.netflix.servo.monitor.Monitor

        getConfig, getValue, getValue
      • Methods inherited from interface com.netflix.servo.monitor.Timer

        record
    • Constructor Detail

      • ServoControl

        public ServoControl​(com.netflix.servo.monitor.MonitorConfig baseConfig,
                            com.netflix.servo.stats.StatsConfig statsConfig)
    • Method Detail

      • shutdown

        public static void shutdown()