Package org.topbraid.jenax.statistics
Class ExecStatistics
- java.lang.Object
-
- org.topbraid.jenax.statistics.ExecStatistics
-
public class ExecStatistics extends Object
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
Constructors Constructor Description ExecStatistics(String label, String queryText, long duration, long startTime, org.apache.jena.graph.Node context)Creates a new ExecStatistics object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jena.graph.NodegetContext()longgetDuration()StringgetLabel()StringgetQueryText()longgetStartTime()
-
-
-
Constructor Detail
-
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
-
-