org.jrdf.example.performance
Class AddPerformanceImpl

java.lang.Object
  extended by org.jrdf.example.performance.AddPerformanceImpl
All Implemented Interfaces:
AddPerformance

public class AddPerformanceImpl
extends Object
implements AddPerformance


Constructor Summary
AddPerformanceImpl(int numberOfPredicates, String subjectPrefix, String predicatePrefix, String objectPrefix)
           
 
Method Summary
 void addPerformance(int numberOfNodes, Graph graph, GraphPerformance performance)
          Creates 10 times the given number of nodes for a given graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddPerformanceImpl

public AddPerformanceImpl(int numberOfPredicates,
                          String subjectPrefix,
                          String predicatePrefix,
                          String objectPrefix)
Method Detail

addPerformance

public void addPerformance(int numberOfNodes,
                           Graph graph,
                           GraphPerformance performance)
                    throws GraphException
Description copied from interface: AddPerformance
Creates 10 times the given number of nodes for a given graph.

Specified by:
addPerformance in interface AddPerformance
Parameters:
numberOfNodes - the number of nodes to create with 10 objects.
graph - the graph to add.
Throws:
GraphException