java.lang.Object
org.elasticsearch.compute.operator.DriverProfile
- All Implemented Interfaces:
Writeable,ChunkedToXContent,ChunkedToXContentObject
Profile results from a single
Driver.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionDriverProfile(String description, long startMillis, long stopMillis, long tookNanos, long cpuNanos, long iterations, List<DriverStatus.OperatorStatus> operators, DriverSleeps sleeps) -
Method Summary
Modifier and TypeMethodDescriptionlongcpuNanos()Nanos thisDriverhas been running on the cpu.Description of the task this driver is running.booleaninthashCode()longThe number of times the driver has moved a single page up the chain of operators as far as it'll go.Status of eachOperatorin the driver when it finished.sleeps()Records of the times the driver has slept.longMillis since epoch when the driver started.longMillis since epoch when the driver stopped.longNanos between creation and completion of theDriver.toString()Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
toXContentChunked, toXContentChunkedV8Methods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContentObject
isFragment
-
Constructor Details
-
DriverProfile
public DriverProfile(String description, long startMillis, long stopMillis, long tookNanos, long cpuNanos, long iterations, List<DriverStatus.OperatorStatus> operators, DriverSleeps sleeps) -
DriverProfile
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
description
Description of the task this driver is running. -
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 theDriver. -
cpuNanos
public long cpuNanos()Nanos thisDriverhas 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
Status of eachOperatorin the driver when it finished. -
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:
toXContentChunkedin interfaceChunkedToXContent
-
equals
-
hashCode
public int hashCode() -
toString
-