public abstract class TimelineSampleA specific timeline sample. This instruments work progress at a given point in time, providing information about work units active/pending/completed as well as cumulative slot-milliseconds.
Constructors
TimelineSample()
public TimelineSample()Methods
getActiveUnits()
public abstract Long getActiveUnits()Returns the total number of work units currently being processed.
| Returns | |
|---|---|
| Type | Description |
Long |
|
getCompletedUnits()
public abstract Long getCompletedUnits()Returns the total number of work units completed by this query.
| Returns | |
|---|---|
| Type | Description |
Long |
|
getElapsedMs()
public abstract Long getElapsedMs()Returns the sample time as milliseconds elapsed since the start of query execution.
| Returns | |
|---|---|
| Type | Description |
Long |
|
getPendingUnits()
public abstract Long getPendingUnits()Returns the number of work units remaining for the currently active stages.
| Returns | |
|---|---|
| Type | Description |
Long |
|
getSlotMillis()
public abstract Long getSlotMillis()Returns the cumulative slot-milliseconds consumed by the query.
| Returns | |
|---|---|
| Type | Description |
Long |
|
toBuilder()
public abstract TimelineSample.Builder toBuilder()return a builder for the TimelineSample object.
| Returns | |
|---|---|
| Type | Description |
TimelineSample.Builder |
|