PushGaugeWithTimeout

nl.grons.metrics4.scala.PushGaugeWithTimeout
class PushGaugeWithTimeout[A] extends PushGauge[A]

A gauge to which you can push new values. Values are forgotten after some time.

For more information see MetricBuilder.pushGaugeWithTimeout.

Attributes

Graph
Supertypes
class PushGauge[A]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def push(newValue: A): Unit

Push a new value.

Push a new value.

Value parameters

newValue

the new value. In case A is a reference type, pushing a null will make reporters ignore this metric (verified for the standard reporters: GraphiteReporter and CollectdReporter).

Attributes

Inherited from:
PushGauge
def value: A

The current value.

The current value.

Attributes

Inherited from:
PushGauge
def value_=(newValue: A): Unit

Alias for push.

Alias for push.

Attributes

Inherited from:
PushGauge