Constructor and Description |
---|
Stat(CatalogProtos.StatProto proto) |
Stat(CatalogProtos.StatType type) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
CatalogProtos.StatType |
getType() |
long |
getValue() |
int |
hashCode() |
void |
increment() |
void |
incrementBy(long delta) |
void |
setValue(long val) |
void |
subtract() |
void |
subtractBy(long delta) |
CatalogProtos.StatProto |
toProto() |
String |
toString() |
public Stat(CatalogProtos.StatType type)
public Stat(CatalogProtos.StatProto proto)
public CatalogProtos.StatType getType()
public long getValue()
public void setValue(long val)
public void increment()
public void incrementBy(long delta)
public void subtract()
public void subtractBy(long delta)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public CatalogProtos.StatProto toProto()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.