Class AbstractProfileBreakdown<T extends java.lang.Enum<T>>

java.lang.Object
org.elasticsearch.search.profile.AbstractProfileBreakdown<T>
Direct Known Subclasses:
AggregationProfileBreakdown, QueryProfileBreakdown

public abstract class AbstractProfileBreakdown<T extends java.lang.Enum<T>>
extends java.lang.Object
A record of timings for the various operations that may happen during query execution. A node's time may be composed of several internal attributes (rewriting, weighting, scoring, etc).
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractProfileBreakdown​(java.lang.Class<T> clazz)
    Sole constructor.
  • Method Summary

    Modifier and Type Method Description
    Timer getTimer​(T timing)  
    void setTimer​(T timing, Timer timer)  
    java.util.Map<java.lang.String,​java.lang.Long> toBreakdownMap()
    Build a timing count breakdown.
    protected java.util.Map<java.lang.String,​java.lang.Object> toDebugMap()
    Fetch extra debugging information.
    long toNodeTime()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractProfileBreakdown

      public AbstractProfileBreakdown​(java.lang.Class<T> clazz)
      Sole constructor.
  • Method Details

    • getTimer

      public Timer getTimer​(T timing)
    • setTimer

      public void setTimer​(T timing, Timer timer)
    • toBreakdownMap

      public final java.util.Map<java.lang.String,​java.lang.Long> toBreakdownMap()
      Build a timing count breakdown.
    • toDebugMap

      protected java.util.Map<java.lang.String,​java.lang.Object> toDebugMap()
      Fetch extra debugging information.
    • toNodeTime

      public final long toNodeTime()