com.netflix.servo.monitor
Interface Monitor<T>

All Known Subinterfaces:
CompositeMonitor<T>, Counter, Gauge<T>, Informational, NumericMonitor<T>, ResettableMonitor<T>, Timer
All Known Implementing Classes:
AbstractContextualMonitor, AbstractMonitor, BasicCompositeMonitor, BasicCounter, BasicGauge, BasicInformational, BasicTimer, BucketTimer, ContextualCounter, ContextualTimer, DoubleGauge, DynamicCounter, DynamicTimer, LongGauge, MaxGauge, MinGauge, NumberGauge, PeakRateCounter, ResettableCounter, StatsMonitor, StatsTimer, StepCounter

public interface Monitor<T>

Provides a way to sample a value tied to a particular configuration.


Method Summary
 MonitorConfig getConfig()
          Configuration used to identify a monitor and provide metadata used in aggregations.
 T getValue()
          Returns the current value for the monitor.
 

Method Detail

getValue

T getValue()
Returns the current value for the monitor.


getConfig

MonitorConfig getConfig()
Configuration used to identify a monitor and provide metadata used in aggregations.