org.neo4j.server.rrd.sampler
Class StatisticSampleableBase

java.lang.Object
  extended by org.neo4j.server.rrd.sampler.StatisticSampleableBase
All Implemented Interfaces:
Sampleable
Direct Known Subclasses:
RequestBytesSampleable, RequestCountSampleable, RequestMaxTimeSampleable, RequestMeanTimeSampleable, RequestMedianTimeSampleable, RequestMinTimeSampleable

public abstract class StatisticSampleableBase
extends Object
implements Sampleable


Constructor Summary
StatisticSampleableBase(Database db, org.rrd4j.DsType dsType)
           
 
Method Summary
protected  StatisticRecord getCurrentSnapshot()
           
abstract  String getName()
           
 org.rrd4j.DsType getType()
           
abstract  double getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticSampleableBase

public StatisticSampleableBase(Database db,
                               org.rrd4j.DsType dsType)
Method Detail

getName

public abstract String getName()
Specified by:
getName in interface Sampleable

getValue

public abstract double getValue()
Specified by:
getValue in interface Sampleable

getCurrentSnapshot

protected StatisticRecord getCurrentSnapshot()

getType

public org.rrd4j.DsType getType()
Specified by:
getType in interface Sampleable


Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.