public static final class Protos.TrafficControlStatistics extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.TrafficControlStatistics.Builder
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).
|
Modifier and Type | Field and Description |
---|---|
static int |
BACKLOG_FIELD_NUMBER |
static int |
BYTES_FIELD_NUMBER |
static int |
DROPS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
OVERLIMITS_FIELD_NUMBER |
static int |
PACKETS_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
QLEN_FIELD_NUMBER |
static int |
RATEBPS_FIELD_NUMBER |
static int |
RATEPPS_FIELD_NUMBER |
static int |
REQUEUES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getBacklog()
optional uint64 backlog = 2; |
long |
getBytes()
optional uint64 bytes = 3; |
static Protos.TrafficControlStatistics |
getDefaultInstance() |
Protos.TrafficControlStatistics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
<any> |
getParserForType() |
long |
getQlen()
optional uint64 qlen = 7; |
long |
getRatebps()
optional uint64 ratebps = 8; |
long |
getRatepps()
optional uint64 ratepps = 9; |
long |
getRequeues()
optional uint64 requeues = 10; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBacklog()
optional uint64 backlog = 2; |
boolean |
hasBytes()
optional uint64 bytes = 3; |
boolean |
hasDrops()
optional uint64 drops = 4; |
int |
hashCode() |
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() |
static Protos.TrafficControlStatistics.Builder |
newBuilder() |
static Protos.TrafficControlStatistics.Builder |
newBuilder(Protos.TrafficControlStatistics prototype) |
Protos.TrafficControlStatistics.Builder |
newBuilderForType() |
protected Protos.TrafficControlStatistics.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.TrafficControlStatistics |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.TrafficControlStatistics |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TrafficControlStatistics |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TrafficControlStatistics |
parseFrom(java.nio.ByteBuffer data) |
static Protos.TrafficControlStatistics |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TrafficControlStatistics |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.TrafficControlStatistics |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TrafficControlStatistics |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.TrafficControlStatistics |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TrafficControlStatistics |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.TrafficControlStatistics.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int ID_FIELD_NUMBER
public static final int BACKLOG_FIELD_NUMBER
public static final int BYTES_FIELD_NUMBER
public static final int DROPS_FIELD_NUMBER
public static final int OVERLIMITS_FIELD_NUMBER
public static final int PACKETS_FIELD_NUMBER
public static final int QLEN_FIELD_NUMBER
public static final int RATEBPS_FIELD_NUMBER
public static final int RATEPPS_FIELD_NUMBER
public static final int REQUEUES_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 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 boolean hasBacklog()
optional uint64 backlog = 2;
hasBacklog
in interface Protos.TrafficControlStatisticsOrBuilder
public long getBacklog()
optional uint64 backlog = 2;
getBacklog
in interface Protos.TrafficControlStatisticsOrBuilder
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 boolean hasDrops()
optional uint64 drops = 4;
hasDrops
in interface Protos.TrafficControlStatisticsOrBuilder
public long getDrops()
optional uint64 drops = 4;
getDrops
in interface Protos.TrafficControlStatisticsOrBuilder
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 boolean hasPackets()
optional uint64 packets = 6;
hasPackets
in interface Protos.TrafficControlStatisticsOrBuilder
public long getPackets()
optional uint64 packets = 6;
getPackets
in interface Protos.TrafficControlStatisticsOrBuilder
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 boolean hasRatebps()
optional uint64 ratebps = 8;
hasRatebps
in interface Protos.TrafficControlStatisticsOrBuilder
public long getRatebps()
optional uint64 ratebps = 8;
getRatebps
in interface Protos.TrafficControlStatisticsOrBuilder
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 boolean hasRequeues()
optional uint64 requeues = 10;
hasRequeues
in interface Protos.TrafficControlStatisticsOrBuilder
public long getRequeues()
optional uint64 requeues = 10;
getRequeues
in interface Protos.TrafficControlStatisticsOrBuilder
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.TrafficControlStatistics parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TrafficControlStatistics parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TrafficControlStatistics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TrafficControlStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TrafficControlStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TrafficControlStatistics parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TrafficControlStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TrafficControlStatistics parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TrafficControlStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TrafficControlStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.TrafficControlStatistics.Builder newBuilderForType()
public static Protos.TrafficControlStatistics.Builder newBuilder()
public static Protos.TrafficControlStatistics.Builder newBuilder(Protos.TrafficControlStatistics prototype)
public Protos.TrafficControlStatistics.Builder toBuilder()
protected Protos.TrafficControlStatistics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.TrafficControlStatistics getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.TrafficControlStatistics getDefaultInstanceForType()