public static final class Protos.TrafficControlStatistics extends com.google.protobuf.GeneratedMessage implements Protos.TrafficControlStatisticsOrBuilder
mesos.TrafficControlStatistics
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.
Modifier and Type | Class and Description |
---|---|
static class |
Protos.TrafficControlStatistics.Builder
Protobuf type
mesos.TrafficControlStatistics |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
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 com.google.protobuf.Parser<Protos.TrafficControlStatistics> |
PARSER |
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 |
---|---|
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; |
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; |
com.google.protobuf.Parser<Protos.TrafficControlStatistics> |
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; |
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.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) |
static Protos.TrafficControlStatistics |
parseDelimitedFrom(InputStream input) |
static Protos.TrafficControlStatistics |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TrafficControlStatistics |
parseFrom(byte[] data) |
static Protos.TrafficControlStatistics |
parseFrom(byte[] 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(InputStream input) |
static Protos.TrafficControlStatistics |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TrafficControlStatistics.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<Protos.TrafficControlStatistics> PARSER
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
public static Protos.TrafficControlStatistics getDefaultInstance()
public Protos.TrafficControlStatistics getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Protos.TrafficControlStatistics> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasId()
required string id = 1;
hasId
in interface Protos.TrafficControlStatisticsOrBuilder
public 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()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
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) 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(InputStream input) throws IOException
IOException
public static Protos.TrafficControlStatistics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.TrafficControlStatistics parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protos.TrafficControlStatistics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.TrafficControlStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protos.TrafficControlStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protos.TrafficControlStatistics.Builder newBuilder()
public Protos.TrafficControlStatistics.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protos.TrafficControlStatistics.Builder newBuilder(Protos.TrafficControlStatistics prototype)
public Protos.TrafficControlStatistics.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protos.TrafficControlStatistics.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.