public static final class Protos.ResourceStatistics extends com.google.protobuf.GeneratedMessageV3 implements Protos.ResourceStatisticsOrBuilder
A snapshot of resource usage statistics.Protobuf type
mesos.ResourceStatistics
Modifier and Type | Class and Description |
---|---|
static class |
Protos.ResourceStatistics.Builder
A snapshot of resource usage statistics.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.CgroupInfo.Blkio.Statistics |
getBlkioStatistics()
Cgroups blkio statistics.
|
Protos.CgroupInfo.Blkio.StatisticsOrBuilder |
getBlkioStatisticsOrBuilder()
Cgroups blkio statistics.
|
double |
getCpusLimit()
Hard CPU limit.
|
int |
getCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
|
int |
getCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8; |
double |
getCpusSoftLimit()
Soft CPU limit.
|
double |
getCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3; |
double |
getCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9; |
double |
getCpusUserTimeSecs()
CPU Usage Information:
Total CPU time spent in user mode, and kernel mode.
|
static Protos.ResourceStatistics |
getDefaultInstance() |
Protos.ResourceStatistics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getDiskLimitBytes()
Disk Usage Information for executor working directory.
|
Protos.DiskStatistics |
getDiskStatistics(int index)
Per disk (resource) statistics.
|
int |
getDiskStatisticsCount()
Per disk (resource) statistics.
|
java.util.List<Protos.DiskStatistics> |
getDiskStatisticsList()
Per disk (resource) statistics.
|
Protos.DiskStatisticsOrBuilder |
getDiskStatisticsOrBuilder(int index)
Per disk (resource) statistics.
|
java.util.List<? extends Protos.DiskStatisticsOrBuilder> |
getDiskStatisticsOrBuilderList()
Per disk (resource) statistics.
|
long |
getDiskUsedBytes()
optional uint64 disk_used_bytes = 27; |
long |
getMemAnonBytes()
optional uint64 mem_anon_bytes = 11; |
long |
getMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
|
long |
getMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34; |
long |
getMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in
0.23.0 and will be removed in 0.24.0.
|
long |
getMemLimitBytes()
Hard memory limit.
|
long |
getMemLowPressureCounter()
Number of occurrences of different levels of memory pressure
events reported by memory cgroup.
|
long |
getMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12; |
long |
getMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33; |
long |
getMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only
anonymous memory usage.
|
long |
getMemSoftLimitBytes()
Soft memory limit.
|
long |
getMemSwapBytes()
This is only set if swap is enabled.
|
long |
getMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory
of a process in RAM (as opposed to in Swap).
|
long |
getMemTotalMemswBytes()
Total memory + swap usage.
|
long |
getMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41; |
long |
getNetRxBytes()
optional uint64 net_rx_bytes = 15; |
long |
getNetRxDropped()
optional uint64 net_rx_dropped = 17; |
long |
getNetRxErrors()
optional uint64 net_rx_errors = 16; |
long |
getNetRxPackets()
Network Usage Information:
|
Protos.SNMPStatistics |
getNetSnmpStatistics()
Network SNMP statistics for each container.
|
Protos.SNMPStatisticsOrBuilder |
getNetSnmpStatisticsOrBuilder()
Network SNMP statistics for each container.
|
double |
getNetTcpActiveConnections()
optional double net_tcp_active_connections = 28; |
double |
getNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP
sockets.
|
double |
getNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23; |
double |
getNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24; |
double |
getNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25; |
double |
getNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29; |
Protos.TrafficControlStatistics |
getNetTrafficControlStatistics(int index)
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
int |
getNetTrafficControlStatisticsCount()
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
java.util.List<Protos.TrafficControlStatistics> |
getNetTrafficControlStatisticsList()
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
Protos.TrafficControlStatisticsOrBuilder |
getNetTrafficControlStatisticsOrBuilder(int index)
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
java.util.List<? extends Protos.TrafficControlStatisticsOrBuilder> |
getNetTrafficControlStatisticsOrBuilderList()
Network traffic flowing into or out of a container can be delayed
or dropped due to congestion or policy inside and outside the
container.
|
long |
getNetTxBytes()
optional uint64 net_tx_bytes = 19; |
long |
getNetTxDropped()
optional uint64 net_tx_dropped = 21; |
long |
getNetTxErrors()
optional uint64 net_tx_errors = 20; |
long |
getNetTxPackets()
optional uint64 net_tx_packets = 18; |
<any> |
getParserForType() |
Protos.PerfStatistics |
getPerf()
Perf statistics.
|
Protos.PerfStatisticsOrBuilder |
getPerfOrBuilder()
Perf statistics.
|
int |
getProcesses()
optional uint32 processes = 30; |
int |
getSerializedSize() |
int |
getThreads()
optional uint32 threads = 31; |
double |
getTimestamp()
Snapshot time, in seconds since the Epoch.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBlkioStatistics()
Cgroups blkio statistics.
|
boolean |
hasCpusLimit()
Hard CPU limit.
|
boolean |
hasCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
|
boolean |
hasCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8; |
boolean |
hasCpusSoftLimit()
Soft CPU limit.
|
boolean |
hasCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3; |
boolean |
hasCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9; |
boolean |
hasCpusUserTimeSecs()
CPU Usage Information:
Total CPU time spent in user mode, and kernel mode.
|
boolean |
hasDiskLimitBytes()
Disk Usage Information for executor working directory.
|
boolean |
hasDiskUsedBytes()
optional uint64 disk_used_bytes = 27; |
int |
hashCode() |
boolean |
hasMemAnonBytes()
optional uint64 mem_anon_bytes = 11; |
boolean |
hasMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
|
boolean |
hasMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34; |
boolean |
hasMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in
0.23.0 and will be removed in 0.24.0.
|
boolean |
hasMemLimitBytes()
Hard memory limit.
|
boolean |
hasMemLowPressureCounter()
Number of occurrences of different levels of memory pressure
events reported by memory cgroup.
|
boolean |
hasMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12; |
boolean |
hasMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33; |
boolean |
hasMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only
anonymous memory usage.
|
boolean |
hasMemSoftLimitBytes()
Soft memory limit.
|
boolean |
hasMemSwapBytes()
This is only set if swap is enabled.
|
boolean |
hasMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory
of a process in RAM (as opposed to in Swap).
|
boolean |
hasMemTotalMemswBytes()
Total memory + swap usage.
|
boolean |
hasMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41; |
boolean |
hasNetRxBytes()
optional uint64 net_rx_bytes = 15; |
boolean |
hasNetRxDropped()
optional uint64 net_rx_dropped = 17; |
boolean |
hasNetRxErrors()
optional uint64 net_rx_errors = 16; |
boolean |
hasNetRxPackets()
Network Usage Information:
|
boolean |
hasNetSnmpStatistics()
Network SNMP statistics for each container.
|
boolean |
hasNetTcpActiveConnections()
optional double net_tcp_active_connections = 28; |
boolean |
hasNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP
sockets.
|
boolean |
hasNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23; |
boolean |
hasNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24; |
boolean |
hasNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25; |
boolean |
hasNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29; |
boolean |
hasNetTxBytes()
optional uint64 net_tx_bytes = 19; |
boolean |
hasNetTxDropped()
optional uint64 net_tx_dropped = 21; |
boolean |
hasNetTxErrors()
optional uint64 net_tx_errors = 20; |
boolean |
hasNetTxPackets()
optional uint64 net_tx_packets = 18; |
boolean |
hasPerf()
Perf statistics.
|
boolean |
hasProcesses()
optional uint32 processes = 30; |
boolean |
hasThreads()
optional uint32 threads = 31; |
boolean |
hasTimestamp()
Snapshot time, in seconds since the Epoch.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.ResourceStatistics.Builder |
newBuilder() |
static Protos.ResourceStatistics.Builder |
newBuilder(Protos.ResourceStatistics prototype) |
Protos.ResourceStatistics.Builder |
newBuilderForType() |
protected Protos.ResourceStatistics.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.ResourceStatistics |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.ResourceStatistics |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceStatistics |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceStatistics |
parseFrom(java.nio.ByteBuffer data) |
static Protos.ResourceStatistics |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceStatistics |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ResourceStatistics |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceStatistics |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ResourceStatistics |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceStatistics |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.ResourceStatistics.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TIMESTAMP_FIELD_NUMBER
public static final int PROCESSES_FIELD_NUMBER
public static final int THREADS_FIELD_NUMBER
public static final int CPUS_USER_TIME_SECS_FIELD_NUMBER
public static final int CPUS_SYSTEM_TIME_SECS_FIELD_NUMBER
public static final int CPUS_LIMIT_FIELD_NUMBER
public static final int CPUS_SOFT_LIMIT_FIELD_NUMBER
public static final int CPUS_NR_PERIODS_FIELD_NUMBER
public static final int CPUS_NR_THROTTLED_FIELD_NUMBER
public static final int CPUS_THROTTLED_TIME_SECS_FIELD_NUMBER
public static final int MEM_TOTAL_BYTES_FIELD_NUMBER
public static final int MEM_TOTAL_MEMSW_BYTES_FIELD_NUMBER
public static final int MEM_LIMIT_BYTES_FIELD_NUMBER
public static final int MEM_SOFT_LIMIT_BYTES_FIELD_NUMBER
public static final int MEM_FILE_BYTES_FIELD_NUMBER
public static final int MEM_ANON_BYTES_FIELD_NUMBER
public static final int MEM_CACHE_BYTES_FIELD_NUMBER
public static final int MEM_RSS_BYTES_FIELD_NUMBER
public static final int MEM_MAPPED_FILE_BYTES_FIELD_NUMBER
public static final int MEM_SWAP_BYTES_FIELD_NUMBER
public static final int MEM_UNEVICTABLE_BYTES_FIELD_NUMBER
public static final int MEM_LOW_PRESSURE_COUNTER_FIELD_NUMBER
public static final int MEM_MEDIUM_PRESSURE_COUNTER_FIELD_NUMBER
public static final int MEM_CRITICAL_PRESSURE_COUNTER_FIELD_NUMBER
public static final int DISK_LIMIT_BYTES_FIELD_NUMBER
public static final int DISK_USED_BYTES_FIELD_NUMBER
public static final int DISK_STATISTICS_FIELD_NUMBER
public static final int BLKIO_STATISTICS_FIELD_NUMBER
public static final int PERF_FIELD_NUMBER
public static final int NET_RX_PACKETS_FIELD_NUMBER
public static final int NET_RX_BYTES_FIELD_NUMBER
public static final int NET_RX_ERRORS_FIELD_NUMBER
public static final int NET_RX_DROPPED_FIELD_NUMBER
public static final int NET_TX_PACKETS_FIELD_NUMBER
public static final int NET_TX_BYTES_FIELD_NUMBER
public static final int NET_TX_ERRORS_FIELD_NUMBER
public static final int NET_TX_DROPPED_FIELD_NUMBER
public static final int NET_TCP_RTT_MICROSECS_P50_FIELD_NUMBER
public static final int NET_TCP_RTT_MICROSECS_P90_FIELD_NUMBER
public static final int NET_TCP_RTT_MICROSECS_P95_FIELD_NUMBER
public static final int NET_TCP_RTT_MICROSECS_P99_FIELD_NUMBER
public static final int NET_TCP_ACTIVE_CONNECTIONS_FIELD_NUMBER
public static final int NET_TCP_TIME_WAIT_CONNECTIONS_FIELD_NUMBER
public static final int NET_TRAFFIC_CONTROL_STATISTICS_FIELD_NUMBER
public static final int NET_SNMP_STATISTICS_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasTimestamp()
Snapshot time, in seconds since the Epoch.
required double timestamp = 1;
hasTimestamp
in interface Protos.ResourceStatisticsOrBuilder
public double getTimestamp()
Snapshot time, in seconds since the Epoch.
required double timestamp = 1;
getTimestamp
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasProcesses()
optional uint32 processes = 30;
hasProcesses
in interface Protos.ResourceStatisticsOrBuilder
public int getProcesses()
optional uint32 processes = 30;
getProcesses
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasThreads()
optional uint32 threads = 31;
hasThreads
in interface Protos.ResourceStatisticsOrBuilder
public int getThreads()
optional uint32 threads = 31;
getThreads
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusUserTimeSecs()
CPU Usage Information: Total CPU time spent in user mode, and kernel mode.
optional double cpus_user_time_secs = 2;
hasCpusUserTimeSecs
in interface Protos.ResourceStatisticsOrBuilder
public double getCpusUserTimeSecs()
CPU Usage Information: Total CPU time spent in user mode, and kernel mode.
optional double cpus_user_time_secs = 2;
getCpusUserTimeSecs
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3;
hasCpusSystemTimeSecs
in interface Protos.ResourceStatisticsOrBuilder
public double getCpusSystemTimeSecs()
optional double cpus_system_time_secs = 3;
getCpusSystemTimeSecs
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusLimit()
Hard CPU limit.
optional double cpus_limit = 4;
hasCpusLimit
in interface Protos.ResourceStatisticsOrBuilder
public double getCpusLimit()
Hard CPU limit.
optional double cpus_limit = 4;
getCpusLimit
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusSoftLimit()
Soft CPU limit.
optional double cpus_soft_limit = 45;
hasCpusSoftLimit
in interface Protos.ResourceStatisticsOrBuilder
public double getCpusSoftLimit()
Soft CPU limit.
optional double cpus_soft_limit = 45;
getCpusSoftLimit
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
optional uint32 cpus_nr_periods = 7;
hasCpusNrPeriods
in interface Protos.ResourceStatisticsOrBuilder
public int getCpusNrPeriods()
cpu.stat on process throttling (for contention issues).
optional uint32 cpus_nr_periods = 7;
getCpusNrPeriods
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8;
hasCpusNrThrottled
in interface Protos.ResourceStatisticsOrBuilder
public int getCpusNrThrottled()
optional uint32 cpus_nr_throttled = 8;
getCpusNrThrottled
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9;
hasCpusThrottledTimeSecs
in interface Protos.ResourceStatisticsOrBuilder
public double getCpusThrottledTimeSecs()
optional double cpus_throttled_time_secs = 9;
getCpusThrottledTimeSecs
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory of a process in RAM (as opposed to in Swap). This was previously reported as mem_rss_bytes, which was also changed in 0.23.0 to represent only the anonymous memory usage, to keep in sync with Linux kernel's (arguably erroneous) use of terminology.
optional uint64 mem_total_bytes = 36;
hasMemTotalBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemTotalBytes()
mem_total_bytes was added in 0.23.0 to represent the total memory of a process in RAM (as opposed to in Swap). This was previously reported as mem_rss_bytes, which was also changed in 0.23.0 to represent only the anonymous memory usage, to keep in sync with Linux kernel's (arguably erroneous) use of terminology.
optional uint64 mem_total_bytes = 36;
getMemTotalBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemTotalMemswBytes()
Total memory + swap usage. This is set if swap is enabled.
optional uint64 mem_total_memsw_bytes = 37;
hasMemTotalMemswBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemTotalMemswBytes()
Total memory + swap usage. This is set if swap is enabled.
optional uint64 mem_total_memsw_bytes = 37;
getMemTotalMemswBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemLimitBytes()
Hard memory limit.
optional uint64 mem_limit_bytes = 6;
hasMemLimitBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemLimitBytes()
Hard memory limit.
optional uint64 mem_limit_bytes = 6;
getMemLimitBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemSoftLimitBytes()
Soft memory limit.
optional uint64 mem_soft_limit_bytes = 38;
hasMemSoftLimitBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemSoftLimitBytes()
Soft memory limit.
optional uint64 mem_soft_limit_bytes = 38;
getMemSoftLimitBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in 0.23.0 and will be removed in 0.24.0.
optional uint64 mem_file_bytes = 10;
hasMemFileBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemFileBytes()
TODO(chzhcn) mem_file_bytes and mem_anon_bytes are deprecated in 0.23.0 and will be removed in 0.24.0.
optional uint64 mem_file_bytes = 10;
getMemFileBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemAnonBytes()
optional uint64 mem_anon_bytes = 11;
hasMemAnonBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemAnonBytes()
optional uint64 mem_anon_bytes = 11;
getMemAnonBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
optional uint64 mem_cache_bytes = 39;
hasMemCacheBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemCacheBytes()
mem_cache_bytes is added in 0.23.0 to represent page cache usage.
optional uint64 mem_cache_bytes = 39;
getMemCacheBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only anonymous memory usage. Note that neither its requiredness, type, name nor numeric tag has been changed.
optional uint64 mem_rss_bytes = 5;
hasMemRssBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemRssBytes()
Since 0.23.0, mem_rss_bytes is changed to represent only anonymous memory usage. Note that neither its requiredness, type, name nor numeric tag has been changed.
optional uint64 mem_rss_bytes = 5;
getMemRssBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12;
hasMemMappedFileBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemMappedFileBytes()
optional uint64 mem_mapped_file_bytes = 12;
getMemMappedFileBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemSwapBytes()
This is only set if swap is enabled.
optional uint64 mem_swap_bytes = 40;
hasMemSwapBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemSwapBytes()
This is only set if swap is enabled.
optional uint64 mem_swap_bytes = 40;
getMemSwapBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41;
hasMemUnevictableBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getMemUnevictableBytes()
optional uint64 mem_unevictable_bytes = 41;
getMemUnevictableBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemLowPressureCounter()
Number of occurrences of different levels of memory pressure events reported by memory cgroup. Pressure listening (re)starts with these values set to 0 when slave (re)starts. See https://www.kernel.org/doc/Documentation/cgroups/memory.txt for more details.
optional uint64 mem_low_pressure_counter = 32;
hasMemLowPressureCounter
in interface Protos.ResourceStatisticsOrBuilder
public long getMemLowPressureCounter()
Number of occurrences of different levels of memory pressure events reported by memory cgroup. Pressure listening (re)starts with these values set to 0 when slave (re)starts. See https://www.kernel.org/doc/Documentation/cgroups/memory.txt for more details.
optional uint64 mem_low_pressure_counter = 32;
getMemLowPressureCounter
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33;
hasMemMediumPressureCounter
in interface Protos.ResourceStatisticsOrBuilder
public long getMemMediumPressureCounter()
optional uint64 mem_medium_pressure_counter = 33;
getMemMediumPressureCounter
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34;
hasMemCriticalPressureCounter
in interface Protos.ResourceStatisticsOrBuilder
public long getMemCriticalPressureCounter()
optional uint64 mem_critical_pressure_counter = 34;
getMemCriticalPressureCounter
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasDiskLimitBytes()
Disk Usage Information for executor working directory.
optional uint64 disk_limit_bytes = 26;
hasDiskLimitBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getDiskLimitBytes()
Disk Usage Information for executor working directory.
optional uint64 disk_limit_bytes = 26;
getDiskLimitBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasDiskUsedBytes()
optional uint64 disk_used_bytes = 27;
hasDiskUsedBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getDiskUsedBytes()
optional uint64 disk_used_bytes = 27;
getDiskUsedBytes
in interface Protos.ResourceStatisticsOrBuilder
public java.util.List<Protos.DiskStatistics> getDiskStatisticsList()
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
getDiskStatisticsList
in interface Protos.ResourceStatisticsOrBuilder
public java.util.List<? extends Protos.DiskStatisticsOrBuilder> getDiskStatisticsOrBuilderList()
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
getDiskStatisticsOrBuilderList
in interface Protos.ResourceStatisticsOrBuilder
public int getDiskStatisticsCount()
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
getDiskStatisticsCount
in interface Protos.ResourceStatisticsOrBuilder
public Protos.DiskStatistics getDiskStatistics(int index)
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
getDiskStatistics
in interface Protos.ResourceStatisticsOrBuilder
public Protos.DiskStatisticsOrBuilder getDiskStatisticsOrBuilder(int index)
Per disk (resource) statistics.
repeated .mesos.DiskStatistics disk_statistics = 43;
getDiskStatisticsOrBuilder
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasBlkioStatistics()
Cgroups blkio statistics.
optional .mesos.CgroupInfo.Blkio.Statistics blkio_statistics = 44;
hasBlkioStatistics
in interface Protos.ResourceStatisticsOrBuilder
public Protos.CgroupInfo.Blkio.Statistics getBlkioStatistics()
Cgroups blkio statistics.
optional .mesos.CgroupInfo.Blkio.Statistics blkio_statistics = 44;
getBlkioStatistics
in interface Protos.ResourceStatisticsOrBuilder
public Protos.CgroupInfo.Blkio.StatisticsOrBuilder getBlkioStatisticsOrBuilder()
Cgroups blkio statistics.
optional .mesos.CgroupInfo.Blkio.Statistics blkio_statistics = 44;
getBlkioStatisticsOrBuilder
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasPerf()
Perf statistics.
optional .mesos.PerfStatistics perf = 13;
hasPerf
in interface Protos.ResourceStatisticsOrBuilder
public Protos.PerfStatistics getPerf()
Perf statistics.
optional .mesos.PerfStatistics perf = 13;
getPerf
in interface Protos.ResourceStatisticsOrBuilder
public Protos.PerfStatisticsOrBuilder getPerfOrBuilder()
Perf statistics.
optional .mesos.PerfStatistics perf = 13;
getPerfOrBuilder
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetRxPackets()
Network Usage Information:
optional uint64 net_rx_packets = 14;
hasNetRxPackets
in interface Protos.ResourceStatisticsOrBuilder
public long getNetRxPackets()
Network Usage Information:
optional uint64 net_rx_packets = 14;
getNetRxPackets
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetRxBytes()
optional uint64 net_rx_bytes = 15;
hasNetRxBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getNetRxBytes()
optional uint64 net_rx_bytes = 15;
getNetRxBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetRxErrors()
optional uint64 net_rx_errors = 16;
hasNetRxErrors
in interface Protos.ResourceStatisticsOrBuilder
public long getNetRxErrors()
optional uint64 net_rx_errors = 16;
getNetRxErrors
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetRxDropped()
optional uint64 net_rx_dropped = 17;
hasNetRxDropped
in interface Protos.ResourceStatisticsOrBuilder
public long getNetRxDropped()
optional uint64 net_rx_dropped = 17;
getNetRxDropped
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTxPackets()
optional uint64 net_tx_packets = 18;
hasNetTxPackets
in interface Protos.ResourceStatisticsOrBuilder
public long getNetTxPackets()
optional uint64 net_tx_packets = 18;
getNetTxPackets
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTxBytes()
optional uint64 net_tx_bytes = 19;
hasNetTxBytes
in interface Protos.ResourceStatisticsOrBuilder
public long getNetTxBytes()
optional uint64 net_tx_bytes = 19;
getNetTxBytes
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTxErrors()
optional uint64 net_tx_errors = 20;
hasNetTxErrors
in interface Protos.ResourceStatisticsOrBuilder
public long getNetTxErrors()
optional uint64 net_tx_errors = 20;
getNetTxErrors
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTxDropped()
optional uint64 net_tx_dropped = 21;
hasNetTxDropped
in interface Protos.ResourceStatisticsOrBuilder
public long getNetTxDropped()
optional uint64 net_tx_dropped = 21;
getNetTxDropped
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP sockets. RTT is a way to tell the latency of a container.
optional double net_tcp_rtt_microsecs_p50 = 22;
hasNetTcpRttMicrosecsP50
in interface Protos.ResourceStatisticsOrBuilder
public double getNetTcpRttMicrosecsP50()
The kernel keeps track of RTT (round-trip time) for its TCP sockets. RTT is a way to tell the latency of a container.
optional double net_tcp_rtt_microsecs_p50 = 22;
getNetTcpRttMicrosecsP50
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23;
hasNetTcpRttMicrosecsP90
in interface Protos.ResourceStatisticsOrBuilder
public double getNetTcpRttMicrosecsP90()
optional double net_tcp_rtt_microsecs_p90 = 23;
getNetTcpRttMicrosecsP90
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24;
hasNetTcpRttMicrosecsP95
in interface Protos.ResourceStatisticsOrBuilder
public double getNetTcpRttMicrosecsP95()
optional double net_tcp_rtt_microsecs_p95 = 24;
getNetTcpRttMicrosecsP95
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25;
hasNetTcpRttMicrosecsP99
in interface Protos.ResourceStatisticsOrBuilder
public double getNetTcpRttMicrosecsP99()
optional double net_tcp_rtt_microsecs_p99 = 25;
getNetTcpRttMicrosecsP99
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTcpActiveConnections()
optional double net_tcp_active_connections = 28;
hasNetTcpActiveConnections
in interface Protos.ResourceStatisticsOrBuilder
public double getNetTcpActiveConnections()
optional double net_tcp_active_connections = 28;
getNetTcpActiveConnections
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29;
hasNetTcpTimeWaitConnections
in interface Protos.ResourceStatisticsOrBuilder
public double getNetTcpTimeWaitConnections()
optional double net_tcp_time_wait_connections = 29;
getNetTcpTimeWaitConnections
in interface Protos.ResourceStatisticsOrBuilder
public java.util.List<Protos.TrafficControlStatistics> getNetTrafficControlStatisticsList()
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
getNetTrafficControlStatisticsList
in interface Protos.ResourceStatisticsOrBuilder
public java.util.List<? extends Protos.TrafficControlStatisticsOrBuilder> getNetTrafficControlStatisticsOrBuilderList()
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
getNetTrafficControlStatisticsOrBuilderList
in interface Protos.ResourceStatisticsOrBuilder
public int getNetTrafficControlStatisticsCount()
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
getNetTrafficControlStatisticsCount
in interface Protos.ResourceStatisticsOrBuilder
public Protos.TrafficControlStatistics getNetTrafficControlStatistics(int index)
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
getNetTrafficControlStatistics
in interface Protos.ResourceStatisticsOrBuilder
public Protos.TrafficControlStatisticsOrBuilder getNetTrafficControlStatisticsOrBuilder(int index)
Network traffic flowing into or out of a container can be delayed or dropped due to congestion or policy inside and outside the container.
repeated .mesos.TrafficControlStatistics net_traffic_control_statistics = 35;
getNetTrafficControlStatisticsOrBuilder
in interface Protos.ResourceStatisticsOrBuilder
public boolean hasNetSnmpStatistics()
Network SNMP statistics for each container.
optional .mesos.SNMPStatistics net_snmp_statistics = 42;
hasNetSnmpStatistics
in interface Protos.ResourceStatisticsOrBuilder
public Protos.SNMPStatistics getNetSnmpStatistics()
Network SNMP statistics for each container.
optional .mesos.SNMPStatistics net_snmp_statistics = 42;
getNetSnmpStatistics
in interface Protos.ResourceStatisticsOrBuilder
public Protos.SNMPStatisticsOrBuilder getNetSnmpStatisticsOrBuilder()
Network SNMP statistics for each container.
optional .mesos.SNMPStatistics net_snmp_statistics = 42;
getNetSnmpStatisticsOrBuilder
in interface Protos.ResourceStatisticsOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.ResourceStatistics parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceStatistics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceStatistics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceStatistics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ResourceStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ResourceStatistics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ResourceStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ResourceStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.ResourceStatistics.Builder newBuilderForType()
public static Protos.ResourceStatistics.Builder newBuilder()
public static Protos.ResourceStatistics.Builder newBuilder(Protos.ResourceStatistics prototype)
public Protos.ResourceStatistics.Builder toBuilder()
protected Protos.ResourceStatistics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.ResourceStatistics getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.ResourceStatistics getDefaultInstanceForType()