Class: DockerEngineRuby::Models::StatsResponse::MemoryStats
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- DockerEngineRuby::Models::StatsResponse::MemoryStats
- Defined in:
- lib/docker_engine_ruby/models/stats_response.rb
Overview
Instance Attribute Summary collapse
-
#commitbytes ⇒ Integer?
Committed bytes.
-
#commitpeakbytes ⇒ Integer?
Peak committed bytes.
-
#failcnt ⇒ Integer?
Number of times memory usage hits limits.
-
#limit ⇒ Integer?
This field is Linux-specific and omitted for Windows containers.
-
#max_usage ⇒ Integer?
Maximum usage ever recorded.
-
#privateworkingset ⇒ Integer?
Private working set.
-
#stats ⇒ Hash{Symbol=>Integer}?
All the stats exported via memory.stat.
-
#usage ⇒ Integer?
Current
res_counterusage for memory.
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
#commitbytes ⇒ Integer?
Committed bytes.
This field is Windows-specific and omitted for Linux containers.
652 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 652 optional :commitbytes, Integer, nil?: true |
#commitpeakbytes ⇒ Integer?
Peak committed bytes.
This field is Windows-specific and omitted for Linux containers.
660 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 660 optional :commitpeakbytes, Integer, nil?: true |
#failcnt ⇒ Integer?
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.
669 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 669 optional :failcnt, Integer, nil?: true |
#limit ⇒ Integer?
This field is Linux-specific and omitted for Windows containers.
675 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 675 optional :limit, Integer, nil?: true |
#max_usage ⇒ Integer?
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.
684 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 684 optional :max_usage, Integer, nil?: true |
#privateworkingset ⇒ Integer?
Private working set.
This field is Windows-specific and omitted for Linux containers.
692 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 692 optional :privateworkingset, Integer, nil?: true |
#stats ⇒ Hash{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.
704 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 704 optional :stats, DockerEngineRuby::Internal::Type::HashOf[Integer] |
#usage ⇒ Integer?
Current res_counter usage for memory.
This field is Linux-specific and omitted for Windows containers.
712 |
# File 'lib/docker_engine_ruby/models/stats_response.rb', line 712 optional :usage, Integer, nil?: true |