com.neeve.stats
Class BooleanGauge

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

public abstract class BooleanGauge
extends AbstractGauge

Base class for boolean IStats.Gauge implementations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.neeve.stats.IStats.Gauge
IStats.Gauge.Type
 
Constructor Summary
BooleanGauge(String name)
           
 
Method Summary
abstract  boolean getBooleanValue()
          Gets the current value for a IStats.Gauge.Type.Boolean Gauge.
 
Methods inherited from class com.neeve.stats.AbstractGauge
get, getByteValue, getCharValue, getDoubleValue, 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

BooleanGauge

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

getBooleanValue

public abstract boolean getBooleanValue()
Description copied from interface: IStats.Gauge
Gets the current value for a IStats.Gauge.Type.Boolean Gauge.

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


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