target.apidocs.com.google.api.services.dataflow.model.MemInfo.html Maven / Gradle / Ivy
MemInfo (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class MemInfo
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.MemInfo
-
public final class MemInfo
extends com.google.api.client.json.GenericJson
Information about the memory usage of a worker or a container within a worker.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
MemInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCurrentLimitBytes
public BigInteger getCurrentLimitBytes()
Instantenous memory limit in bytes.
- Returns:
- value or
null
for none
-
setCurrentLimitBytes
public MemInfo setCurrentLimitBytes(BigInteger currentLimitBytes)
Instantenous memory limit in bytes.
- Parameters:
currentLimitBytes
- currentLimitBytes or null
for none
-
getCurrentOoms
public Long getCurrentOoms()
Number of Out of Memory (OOM) events recorded since the previous measurement.
- Returns:
- value or
null
for none
-
setCurrentOoms
public MemInfo setCurrentOoms(Long currentOoms)
Number of Out of Memory (OOM) events recorded since the previous measurement.
- Parameters:
currentOoms
- currentOoms or null
for none
-
getCurrentRssBytes
public BigInteger getCurrentRssBytes()
Instantenous memory (RSS) size in bytes.
- Returns:
- value or
null
for none
-
setCurrentRssBytes
public MemInfo setCurrentRssBytes(BigInteger currentRssBytes)
Instantenous memory (RSS) size in bytes.
- Parameters:
currentRssBytes
- currentRssBytes or null
for none
-
getTimestamp
public String getTimestamp()
Timestamp of the measurement.
- Returns:
- value or
null
for none
-
setTimestamp
public MemInfo setTimestamp(String timestamp)
Timestamp of the measurement.
- Parameters:
timestamp
- timestamp or null
for none
-
getTotalGbMs
public BigInteger getTotalGbMs()
Total memory (RSS) usage since start up in GB * ms.
- Returns:
- value or
null
for none
-
setTotalGbMs
public MemInfo setTotalGbMs(BigInteger totalGbMs)
Total memory (RSS) usage since start up in GB * ms.
- Parameters:
totalGbMs
- totalGbMs or null
for none
-
set
public MemInfo set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public MemInfo clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy