public static final class Protos.TrafficControlStatistics.Builder extends <any> implements Protos.TrafficControlStatisticsOrBuilder
When the network bandwidth caps are enabled and the container is over its limit, outbound packets may be either delayed or dropped completely either because it exceeds the maximum bandwidth allocation for a single container (the cap) or because the combined network traffic of multiple containers on the host exceeds the transmit capacity of the host (the share). We can report the following statistics for each of these conditions exported directly from the Linux Traffic Control Queueing Discipline. id : name of the limiter, e.g. 'tx_bw_cap' backlog : number of packets currently delayed bytes : total bytes seen drops : number of packets dropped in total overlimits : number of packets which exceeded allocation packets : total packets seen qlen : number of packets currently queued rate_bps : throughput in bytes/sec rate_pps : throughput in packets/sec requeues : number of times a packet has been delayed due to locking or device contention issues More information on the operation of Linux Traffic Control can be found at http://www.lartc.org/lartc.html.Protobuf type
mesos.TrafficControlStatistics
Modifier and Type | Method and Description |
---|---|
Protos.TrafficControlStatistics.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TrafficControlStatistics |
build() |
Protos.TrafficControlStatistics |
buildPartial() |
Protos.TrafficControlStatistics.Builder |
clear() |
Protos.TrafficControlStatistics.Builder |
clearBacklog()
optional uint64 backlog = 2; |
Protos.TrafficControlStatistics.Builder |
clearBytes()
optional uint64 bytes = 3; |
Protos.TrafficControlStatistics.Builder |
clearDrops()
optional uint64 drops = 4; |
Protos.TrafficControlStatistics.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TrafficControlStatistics.Builder |
clearId()
required string id = 1; |
Protos.TrafficControlStatistics.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TrafficControlStatistics.Builder |
clearOverlimits()
optional uint64 overlimits = 5; |
Protos.TrafficControlStatistics.Builder |
clearPackets()
optional uint64 packets = 6; |
Protos.TrafficControlStatistics.Builder |
clearQlen()
optional uint64 qlen = 7; |
Protos.TrafficControlStatistics.Builder |
clearRatebps()
optional uint64 ratebps = 8; |
Protos.TrafficControlStatistics.Builder |
clearRatepps()
optional uint64 ratepps = 9; |
Protos.TrafficControlStatistics.Builder |
clearRequeues()
optional uint64 requeues = 10; |
Protos.TrafficControlStatistics.Builder |
clone() |
long |
getBacklog()
optional uint64 backlog = 2; |
long |
getBytes()
optional uint64 bytes = 3; |
Protos.TrafficControlStatistics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDrops()
optional uint64 drops = 4; |
java.lang.String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
long |
getOverlimits()
optional uint64 overlimits = 5; |
long |
getPackets()
optional uint64 packets = 6; |
long |
getQlen()
optional uint64 qlen = 7; |
long |
getRatebps()
optional uint64 ratebps = 8; |
long |
getRatepps()
optional uint64 ratepps = 9; |
long |
getRequeues()
optional uint64 requeues = 10; |
boolean |
hasBacklog()
optional uint64 backlog = 2; |
boolean |
hasBytes()
optional uint64 bytes = 3; |
boolean |
hasDrops()
optional uint64 drops = 4; |
boolean |
hasId()
required string id = 1; |
boolean |
hasOverlimits()
optional uint64 overlimits = 5; |
boolean |
hasPackets()
optional uint64 packets = 6; |
boolean |
hasQlen()
optional uint64 qlen = 7; |
boolean |
hasRatebps()
optional uint64 ratebps = 8; |
boolean |
hasRatepps()
optional uint64 ratepps = 9; |
boolean |
hasRequeues()
optional uint64 requeues = 10; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TrafficControlStatistics.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TrafficControlStatistics.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TrafficControlStatistics.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TrafficControlStatistics.Builder |
setBacklog(long value)
optional uint64 backlog = 2; |
Protos.TrafficControlStatistics.Builder |
setBytes(long value)
optional uint64 bytes = 3; |
Protos.TrafficControlStatistics.Builder |
setDrops(long value)
optional uint64 drops = 4; |
Protos.TrafficControlStatistics.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TrafficControlStatistics.Builder |
setId(java.lang.String value)
required string id = 1; |
Protos.TrafficControlStatistics.Builder |
setIdBytes(com.google.protobuf.ByteString value)
required string id = 1; |
Protos.TrafficControlStatistics.Builder |
setOverlimits(long value)
optional uint64 overlimits = 5; |
Protos.TrafficControlStatistics.Builder |
setPackets(long value)
optional uint64 packets = 6; |
Protos.TrafficControlStatistics.Builder |
setQlen(long value)
optional uint64 qlen = 7; |
Protos.TrafficControlStatistics.Builder |
setRatebps(long value)
optional uint64 ratebps = 8; |
Protos.TrafficControlStatistics.Builder |
setRatepps(long value)
optional uint64 ratepps = 9; |
Protos.TrafficControlStatistics.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TrafficControlStatistics.Builder |
setRequeues(long value)
optional uint64 requeues = 10; |
Protos.TrafficControlStatistics.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.TrafficControlStatistics.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.TrafficControlStatistics getDefaultInstanceForType()
public Protos.TrafficControlStatistics build()
public Protos.TrafficControlStatistics buildPartial()
public Protos.TrafficControlStatistics.Builder clone()
public Protos.TrafficControlStatistics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TrafficControlStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.TrafficControlStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.TrafficControlStatistics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.TrafficControlStatistics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TrafficControlStatistics.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.TrafficControlStatistics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasId()
required string id = 1;
hasId
in interface Protos.TrafficControlStatisticsOrBuilder
public java.lang.String getId()
required string id = 1;
getId
in interface Protos.TrafficControlStatisticsOrBuilder
public com.google.protobuf.ByteString getIdBytes()
required string id = 1;
getIdBytes
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setId(java.lang.String value)
required string id = 1;
public Protos.TrafficControlStatistics.Builder clearId()
required string id = 1;
public Protos.TrafficControlStatistics.Builder setIdBytes(com.google.protobuf.ByteString value)
required string id = 1;
public boolean hasBacklog()
optional uint64 backlog = 2;
hasBacklog
in interface Protos.TrafficControlStatisticsOrBuilder
public long getBacklog()
optional uint64 backlog = 2;
getBacklog
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setBacklog(long value)
optional uint64 backlog = 2;
public Protos.TrafficControlStatistics.Builder clearBacklog()
optional uint64 backlog = 2;
public boolean hasBytes()
optional uint64 bytes = 3;
hasBytes
in interface Protos.TrafficControlStatisticsOrBuilder
public long getBytes()
optional uint64 bytes = 3;
getBytes
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setBytes(long value)
optional uint64 bytes = 3;
public Protos.TrafficControlStatistics.Builder clearBytes()
optional uint64 bytes = 3;
public boolean hasDrops()
optional uint64 drops = 4;
hasDrops
in interface Protos.TrafficControlStatisticsOrBuilder
public long getDrops()
optional uint64 drops = 4;
getDrops
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setDrops(long value)
optional uint64 drops = 4;
public Protos.TrafficControlStatistics.Builder clearDrops()
optional uint64 drops = 4;
public boolean hasOverlimits()
optional uint64 overlimits = 5;
hasOverlimits
in interface Protos.TrafficControlStatisticsOrBuilder
public long getOverlimits()
optional uint64 overlimits = 5;
getOverlimits
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setOverlimits(long value)
optional uint64 overlimits = 5;
public Protos.TrafficControlStatistics.Builder clearOverlimits()
optional uint64 overlimits = 5;
public boolean hasPackets()
optional uint64 packets = 6;
hasPackets
in interface Protos.TrafficControlStatisticsOrBuilder
public long getPackets()
optional uint64 packets = 6;
getPackets
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setPackets(long value)
optional uint64 packets = 6;
public Protos.TrafficControlStatistics.Builder clearPackets()
optional uint64 packets = 6;
public boolean hasQlen()
optional uint64 qlen = 7;
hasQlen
in interface Protos.TrafficControlStatisticsOrBuilder
public long getQlen()
optional uint64 qlen = 7;
getQlen
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setQlen(long value)
optional uint64 qlen = 7;
public Protos.TrafficControlStatistics.Builder clearQlen()
optional uint64 qlen = 7;
public boolean hasRatebps()
optional uint64 ratebps = 8;
hasRatebps
in interface Protos.TrafficControlStatisticsOrBuilder
public long getRatebps()
optional uint64 ratebps = 8;
getRatebps
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setRatebps(long value)
optional uint64 ratebps = 8;
public Protos.TrafficControlStatistics.Builder clearRatebps()
optional uint64 ratebps = 8;
public boolean hasRatepps()
optional uint64 ratepps = 9;
hasRatepps
in interface Protos.TrafficControlStatisticsOrBuilder
public long getRatepps()
optional uint64 ratepps = 9;
getRatepps
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setRatepps(long value)
optional uint64 ratepps = 9;
public Protos.TrafficControlStatistics.Builder clearRatepps()
optional uint64 ratepps = 9;
public boolean hasRequeues()
optional uint64 requeues = 10;
hasRequeues
in interface Protos.TrafficControlStatisticsOrBuilder
public long getRequeues()
optional uint64 requeues = 10;
getRequeues
in interface Protos.TrafficControlStatisticsOrBuilder
public Protos.TrafficControlStatistics.Builder setRequeues(long value)
optional uint64 requeues = 10;
public Protos.TrafficControlStatistics.Builder clearRequeues()
optional uint64 requeues = 10;
public final Protos.TrafficControlStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.TrafficControlStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)