Class TimeSpanMarker

java.lang.Object
org.elasticsearch.xpack.esql.action.TimeSpanMarker

public class TimeSpanMarker extends Object
  • Method Details

    • name

      public String name()
    • timeSpan

      public TimeSpan timeSpan()
    • start

      public void start()
    • stop

      public void stop()
    • stopIfStarted

      public void stopIfStarted()
      Safely stops the marker only if it was started but not yet stopped. This is useful in error paths where we don't know which markers were started.
    • timeTook

      public org.elasticsearch.core.TimeValue timeTook()
    • wasStarted

      public boolean wasStarted()
      Returns true if this marker was started (regardless of whether it was stopped).
    • timeSinceStarted

      public org.elasticsearch.core.TimeValue timeSinceStarted()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object