public final class StatCounter extends java.lang.Object implements IMessage, java.lang.Comparable<StatCounter>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
StatType |
type |
int |
value |
| Modifier | Constructor and Description |
|---|---|
|
StatCounter() |
protected |
StatCounter(ProtoByteBuffer buffer) |
|
StatCounter(StatType type,
java.lang.String name,
int value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StatCounter rhs) |
void |
deserialize(ProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
void |
serialize(ProtoByteBuffer buffer) |
java.lang.String |
toString() |
public StatType type
public java.lang.String name
public int value
public StatCounter()
protected StatCounter(ProtoByteBuffer buffer)
public StatCounter(StatType type, java.lang.String name, int value)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(StatCounter rhs)
compareTo in interface java.lang.Comparable<StatCounter>public int hashCode()
hashCode in class java.lang.Objectpublic void deserialize(ProtoByteBuffer buffer)
deserialize in interface IMessagepublic void serialize(ProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)