org.jrdf.example.performance
Class AbstractGraphPerformance

java.lang.Object
  extended by org.jrdf.example.performance.AbstractGraphPerformance
All Implemented Interfaces:
GraphPerformance
Direct Known Subclasses:
DiskPerformance, MemPerformance

public abstract class AbstractGraphPerformance
extends Object
implements GraphPerformance


Constructor Summary
AbstractGraphPerformance()
           
 
Method Summary
protected abstract  BlankNodeRegistry getBlankNodeRegistry()
           
protected abstract  Graph getGraph()
           
protected abstract  MapFactory getMapFactory()
           
 void outputResult(Graph graph, long startTime, String what)
           
 void testPerformance(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractGraphPerformance

public AbstractGraphPerformance()
Method Detail

testPerformance

public void testPerformance(String[] args)
                     throws Exception
Throws:
Exception

getGraph

protected abstract Graph getGraph()

getMapFactory

protected abstract MapFactory getMapFactory()

getBlankNodeRegistry

protected abstract BlankNodeRegistry getBlankNodeRegistry()

outputResult

public void outputResult(Graph graph,
                         long startTime,
                         String what)
                  throws GraphException
Specified by:
outputResult in interface GraphPerformance
Throws:
GraphException