public final class MemInfo
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MemInfo() |
Modifier and Type | Method and Description |
---|---|
MemInfo |
clone() |
BigInteger |
getCurrentLimitBytes()
Instantenous memory limit in bytes.
|
Long |
getCurrentOoms()
Number of Out of Memory (OOM) events recorded since the previous measurement.
|
BigInteger |
getCurrentRssBytes()
Instantenous memory (RSS) size in bytes.
|
String |
getTimestamp()
Timestamp of the measurement.
|
BigInteger |
getTotalGbMs()
Total memory (RSS) usage since start up in GB * ms.
|
MemInfo |
set(String fieldName,
Object value) |
MemInfo |
setCurrentLimitBytes(BigInteger currentLimitBytes)
Instantenous memory limit in bytes.
|
MemInfo |
setCurrentOoms(Long currentOoms)
Number of Out of Memory (OOM) events recorded since the previous measurement.
|
MemInfo |
setCurrentRssBytes(BigInteger currentRssBytes)
Instantenous memory (RSS) size in bytes.
|
MemInfo |
setTimestamp(String timestamp)
Timestamp of the measurement.
|
MemInfo |
setTotalGbMs(BigInteger totalGbMs)
Total memory (RSS) usage since start up in GB * ms.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public BigInteger getCurrentLimitBytes()
null
for nonepublic MemInfo setCurrentLimitBytes(BigInteger currentLimitBytes)
currentLimitBytes
- currentLimitBytes or null
for nonepublic Long getCurrentOoms()
null
for nonepublic MemInfo setCurrentOoms(Long currentOoms)
currentOoms
- currentOoms or null
for nonepublic BigInteger getCurrentRssBytes()
null
for nonepublic MemInfo setCurrentRssBytes(BigInteger currentRssBytes)
currentRssBytes
- currentRssBytes or null
for nonepublic String getTimestamp()
null
for nonepublic MemInfo setTimestamp(String timestamp)
timestamp
- timestamp or null
for nonepublic BigInteger getTotalGbMs()
null
for nonepublic MemInfo setTotalGbMs(BigInteger totalGbMs)
totalGbMs
- totalGbMs or null
for nonepublic MemInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public MemInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.