PushGauge

class PushGauge[A]

A gauge to which you can push new values.

Can only be constructed via MetricBuilder.pushGauge.

class Object
trait Matchable
class Any

Value members

Concrete methods

def push(newValue: A): Unit

Push a new value.

Push a new value.

Value Params
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).

def value: A

The current value.

The current value.

def value_=(newValue: A): Unit

Alias for push.

Alias for push.