Send feedback
Class TimelineSample (2.42.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.42.3 keyboard_arrow_down
public abstract class TimelineSample
A 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()
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]