org.apache.spark.groupon.metrics
Acts like a com.codahale.metrics.Gauge.
Unlike the Codahale version that requires an implementation of a getValue() method, this version implements a set method that just sets the value of this gauge.
getValue()
set
Send a metric data point to the driver.
Send a metric data point to the driver. Does not wait for a response from the driver endpoint.
MetricMessage to send
Set the value of this gauge.
value to set this gauge to.
Acts like a com.codahale.metrics.Gauge.
Unlike the Codahale version that requires an implementation of a
getValue()method, this version implements asetmethod that just sets the value of this gauge.