com.neeve.stats
Class DoubleGauge

java.lang.Object
  extended by com.neeve.stats.AbstractGauge
      extended by com.neeve.stats.DoubleGauge
All Implemented Interfaces:
IStats.Gauge

public abstract class DoubleGauge
extends AbstractGauge

Base class for double IStats.Gauge implementations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.neeve.stats.IStats.Gauge
IStats.Gauge.Type
 
Constructor Summary
DoubleGauge(String name)
           
 
Method Summary
abstract  double getDoubleValue()
          Gets the current value for a IStats.Gauge.Type.Double Gauge.
 
Methods inherited from class com.neeve.stats.AbstractGauge
get, getBooleanValue, getByteValue, getCharValue, getFloatValue, getIntValue, getLongValue, getName, getNameAsRaw, getShortValue, getStringValue, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleGauge

public DoubleGauge(String name)
Parameters:
name - The name of the IStats.Gauge.
Method Detail

getDoubleValue

public abstract double getDoubleValue()
Description copied from interface: IStats.Gauge
Gets the current value for a IStats.Gauge.Type.Double Gauge.

Specified by:
getDoubleValue in interface IStats.Gauge
Overrides:
getDoubleValue in class AbstractGauge
Returns:
The current value for a IStats.Gauge.Type.Double Gauge.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.