PushGauge

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

A gauge to which you can push new values.

For more information see MetricBuilder.pushGauge.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete 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

def value: A

The current value.

The current value.

Attributes

def value_=(newValue: A): Unit

Alias for push.

Alias for push.

Attributes