Package org.topbraid.jenax.statistics
Class ExecStatistics
java.lang.Object
org.topbraid.jenax.statistics.ExecStatistics
A wrapper to record the execution time of some processing step for statistical purposes.
Typical use cases include SPARQL queries or expressions.
- Author:
- Holger Knublauch
-
Constructor Summary
ConstructorsConstructorDescriptionExecStatistics(String label, String queryText, long duration, long startTime, org.apache.jena.graph.Node context) Creates a new ExecStatistics object. -
Method Summary
-
Constructor Details
-
ExecStatistics
public ExecStatistics(String label, String queryText, long duration, long startTime, org.apache.jena.graph.Node context) Creates a new ExecStatistics 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
-
-
Method Details
-
getContext
public org.apache.jena.graph.Node getContext() -
getDuration
public long getDuration() -
getLabel
-
getQueryText
-
getStartTime
public long getStartTime()
-