CachedGauge<T> class
A Gauge implementation which caches its value for a period of time.
- Implemented types
-
- Gauge<
T>
- Gauge<
Constructors
- CachedGauge(T _getValue(), Duration timeout, [Clock _clock = const Clock()])
-
Creates a new cached gauge with the given
clock
and timeout period.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited