Class DriverProfile

java.lang.Object
org.elasticsearch.compute.operator.DriverProfile
All Implemented Interfaces:
Writeable, ChunkedToXContent, ChunkedToXContentObject

public class DriverProfile extends Object implements Writeable, ChunkedToXContentObject
Profile results from a single Driver.
  • Constructor Details

  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • startMillis

      public long startMillis()
      Millis since epoch when the driver started.
    • stopMillis

      public long stopMillis()
      Millis since epoch when the driver stopped.
    • tookNanos

      public long tookNanos()
      Nanos between creation and completion of the Driver.
    • cpuNanos

      public long cpuNanos()
      Nanos this Driver has been running on the cpu. Does not include async or waiting time.
    • iterations

      public long iterations()
      The number of times the driver has moved a single page up the chain of operators as far as it'll go.
    • operators

      public List<DriverStatus.OperatorStatus> operators()
      Status of each Operator in the driver when it finished.
    • sleeps

      public DriverSleeps sleeps()
      Records of the times the driver has slept.
    • toXContentChunked

      public Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params params)
      Specified by:
      toXContentChunked in interface ChunkedToXContent
    • 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