Class 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 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 measured
        queryText - the text of the query that was executed
        duration - the total duration in ms
        startTime - the start time of execution (for ordering)
        context - the Node that for example was holding the spin:rule
    • Method Detail

      • getContext

        public org.apache.jena.graph.Node getContext()
      • getDuration

        public long getDuration()
      • getLabel

        public String getLabel()
      • getQueryText

        public String getQueryText()
      • getStartTime

        public long getStartTime()