org.neo4j.server.rrd
Class JmxSampleableBase

java.lang.Object
  extended by org.neo4j.server.rrd.JmxSampleableBase
All Implemented Interfaces:
Sampleable
Direct Known Subclasses:
NodeIdsInUseSampleable, PropertyCountSampleable, RelationshipCountSampleable

public abstract class JmxSampleableBase
extends Object
implements Sampleable


Constructor Summary
JmxSampleableBase(AbstractGraphDatabase graphDb)
           
 
Method Summary
protected abstract  String getJmxAttributeName()
           
abstract  String getName()
           
 long getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxSampleableBase

public JmxSampleableBase(AbstractGraphDatabase graphDb)
                  throws MalformedObjectNameException
Throws:
MalformedObjectNameException
Method Detail

getName

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

getValue

public long getValue()
Specified by:
getValue in interface Sampleable

getJmxAttributeName

protected abstract String getJmxAttributeName()


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.