Class: DockerEngineRuby::Models::StatsResponse::MemoryStats

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/docker_engine_ruby/models/stats_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from DockerEngineRuby::Internal::Type::BaseModel

Instance Attribute Details

#commitbytesInteger?

Committed bytes.

This field is Windows-specific and omitted for Linux containers.

Returns:

  • (Integer, nil)


652
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 652

optional :commitbytes, Integer, nil?: true

#commitpeakbytesInteger?

Peak committed bytes.

This field is Windows-specific and omitted for Linux containers.

Returns:

  • (Integer, nil)


660
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 660

optional :commitpeakbytes, Integer, nil?: true

#failcntInteger?

Number of times memory usage hits limits.

This field is Linux-specific and only supported on cgroups v1. It is omitted when using cgroups v2 and for Windows containers.

Returns:

  • (Integer, nil)


669
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 669

optional :failcnt, Integer, nil?: true

#limitInteger?

This field is Linux-specific and omitted for Windows containers.

Returns:

  • (Integer, nil)


675
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 675

optional :limit, Integer, nil?: true

#max_usageInteger?

Maximum usage ever recorded.

This field is Linux-specific and only supported on cgroups v1. It is omitted when using cgroups v2 and for Windows containers.

Returns:

  • (Integer, nil)


684
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 684

optional :max_usage, Integer, nil?: true

#privateworkingsetInteger?

Private working set.

This field is Windows-specific and omitted for Linux containers.

Returns:

  • (Integer, nil)


692
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 692

optional :privateworkingset, Integer, nil?: true

#statsHash{Symbol=>Integer}?

All the stats exported via memory.stat.

The fields in this object differ between cgroups v1 and v2. On cgroups v1, fields such as cache, rss, mapped_file are available. On cgroups v2, fields such as file, anon, inactive_file are available.

This field is Linux-specific and omitted for Windows containers.

Returns:

  • (Hash{Symbol=>Integer}, nil)


704
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 704

optional :stats, DockerEngineRuby::Internal::Type::HashOf[Integer]

#usageInteger?

Current res_counter usage for memory.

This field is Linux-specific and omitted for Windows containers.

Returns:

  • (Integer, nil)


712
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 712

optional :usage, Integer, nil?: true