org.topbraid.spin.statistics
Class SPINStatistics
java.lang.Object
org.topbraid.spin.statistics.SPINStatistics
public class SPINStatistics
- extends Object
A wrapper to record the execution time of a given Query
for statistical purposes.
- Author:
- Holger Knublauch
|
Constructor Summary |
SPINStatistics(String label,
String queryText,
long duration,
long startTime,
com.hp.hpl.jena.graph.Node context)
Creates a new SPINStatistics object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPINStatistics
public SPINStatistics(String label,
String queryText,
long duration,
long startTime,
com.hp.hpl.jena.graph.Node context)
- Creates a new SPINStatistics object.
- Parameters:
label - the label of the action that has been measuredqueryText - the text of the query that was executedduration - the total duration in msstartTime - the start time of execution (for ordering)context - the Node that for example was holding the spin:rule
getContext
public com.hp.hpl.jena.graph.Node getContext()
getDuration
public long getDuration()
getLabel
public String getLabel()
getQueryText
public String getQueryText()
getStartTime
public long getStartTime()
Copyright © 2011 TopQuadrant, Inc.. All Rights Reserved.