dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::MemInfo Class Reference

#include <mem_info.h>

Inheritance diagram for google_dataflow_api::MemInfo:

Public Member Functions

 MemInfo (const Json::Value &storage)
 
 MemInfo (Json::Value *storage)
 
virtual ~MemInfo ()
 
const StringPiece GetTypeName () const
 
bool has_current_limit_bytes () const
 
void clear_current_limit_bytes ()
 
uint64 get_current_limit_bytes () const
 
void set_current_limit_bytes (uint64 value)
 
bool has_current_rss_bytes () const
 
void clear_current_rss_bytes ()
 
uint64 get_current_rss_bytes () const
 
void set_current_rss_bytes (uint64 value)
 
bool has_timestamp () const
 
void clear_timestamp ()
 
const StringPiece get_timestamp () const
 
void set_timestamp (const StringPiece &value)
 
bool has_total_gb_ms () const
 
void clear_total_gb_ms ()
 
uint64 get_total_gb_ms () const
 
void set_total_gb_ms (uint64 value)
 

Static Public Member Functions

static MemInfoNew ()
 

Detailed Description

Information about the memory usage of a worker or a container within a worker.

Constructor & Destructor Documentation

◆ MemInfo() [1/2]

google_dataflow_api::MemInfo::MemInfo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ MemInfo() [2/2]

google_dataflow_api::MemInfo::MemInfo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~MemInfo()

google_dataflow_api::MemInfo::~MemInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_current_limit_bytes()

void google_dataflow_api::MemInfo::clear_current_limit_bytes ( )
inline

Clears the 'currentLimitBytes' attribute.

◆ clear_current_rss_bytes()

void google_dataflow_api::MemInfo::clear_current_rss_bytes ( )
inline

Clears the 'currentRssBytes' attribute.

◆ clear_timestamp()

void google_dataflow_api::MemInfo::clear_timestamp ( )
inline

Clears the 'timestamp' attribute.

◆ clear_total_gb_ms()

void google_dataflow_api::MemInfo::clear_total_gb_ms ( )
inline

Clears the 'totalGbMs' attribute.

◆ get_current_limit_bytes()

uint64 google_dataflow_api::MemInfo::get_current_limit_bytes ( ) const
inline

Get the value of the 'currentLimitBytes' attribute.

◆ get_current_rss_bytes()

uint64 google_dataflow_api::MemInfo::get_current_rss_bytes ( ) const
inline

Get the value of the 'currentRssBytes' attribute.

◆ get_timestamp()

const StringPiece google_dataflow_api::MemInfo::get_timestamp ( ) const
inline

Get the value of the 'timestamp' attribute.

◆ get_total_gb_ms()

uint64 google_dataflow_api::MemInfo::get_total_gb_ms ( ) const
inline

Get the value of the 'totalGbMs' attribute.

◆ GetTypeName()

const StringPiece google_dataflow_api::MemInfo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::MemInfo

◆ has_current_limit_bytes()

bool google_dataflow_api::MemInfo::has_current_limit_bytes ( ) const
inline

Determine if the 'currentLimitBytes' attribute was set.

Returns
true if the 'currentLimitBytes' attribute was set.

◆ has_current_rss_bytes()

bool google_dataflow_api::MemInfo::has_current_rss_bytes ( ) const
inline

Determine if the 'currentRssBytes' attribute was set.

Returns
true if the 'currentRssBytes' attribute was set.

◆ has_timestamp()

bool google_dataflow_api::MemInfo::has_timestamp ( ) const
inline

Determine if the 'timestamp' attribute was set.

Returns
true if the 'timestamp' attribute was set.

◆ has_total_gb_ms()

bool google_dataflow_api::MemInfo::has_total_gb_ms ( ) const
inline

Determine if the 'totalGbMs' attribute was set.

Returns
true if the 'totalGbMs' attribute was set.

◆ New()

MemInfo * google_dataflow_api::MemInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_current_limit_bytes()

void google_dataflow_api::MemInfo::set_current_limit_bytes ( uint64  value)
inline

Change the 'currentLimitBytes' attribute.

Instantenous memory limit in bytes.

Parameters
[in]valueThe new value.

◆ set_current_rss_bytes()

void google_dataflow_api::MemInfo::set_current_rss_bytes ( uint64  value)
inline

Change the 'currentRssBytes' attribute.

Instantenous memory (RSS) size in bytes.

Parameters
[in]valueThe new value.

◆ set_timestamp()

void google_dataflow_api::MemInfo::set_timestamp ( const StringPiece &  value)
inline

Change the 'timestamp' attribute.

Timestamp of the measurement.

Parameters
[in]valueThe new value.

◆ set_total_gb_ms()

void google_dataflow_api::MemInfo::set_total_gb_ms ( uint64  value)
inline

Change the 'totalGbMs' attribute.

Total memory (RSS) usage since start up in GB * ms.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: