com.neeve.stats
Class LongGauge

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

public abstract class LongGauge
extends AbstractGauge

Base class for long IStats.Gauge implementations.


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

Constructor Detail

LongGauge

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

getLongValue

public abstract long getLongValue()
Description copied from interface: IStats.Gauge
Gets the current value for a IStats.Gauge.Type.Long Gauge.

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


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