public final class CPUTime extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CPUTime() |
| Modifier and Type | Method and Description |
|---|---|
CPUTime |
clone() |
Double |
getRate()
Average CPU utilization rate (% non-idle cpu / second) since previous sample.
|
String |
getTimestamp()
Timestamp of the measurement.
|
BigInteger |
getTotalMs()
Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
|
CPUTime |
set(String fieldName,
Object value) |
CPUTime |
setRate(Double rate)
Average CPU utilization rate (% non-idle cpu / second) since previous sample.
|
CPUTime |
setTimestamp(String timestamp)
Timestamp of the measurement.
|
CPUTime |
setTotalMs(BigInteger totalMs)
Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Double getRate()
null for nonepublic CPUTime setRate(Double rate)
rate - rate or null for nonepublic String getTimestamp()
null for nonepublic CPUTime setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic BigInteger getTotalMs()
null for nonepublic CPUTime setTotalMs(BigInteger totalMs)
totalMs - totalMs or null for nonepublic CPUTime set(String fieldName, Object value)
set in class GenericJsonpublic CPUTime clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.