public class RiakCounter extends RiakDatatype
This is an immutable value returned when querying Riak for a counter datatype.
Constructor and Description |
---|
RiakCounter(long value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Long |
view()
Get this RiakCounter as a
Long value. |
getAsCounter, getAsFlag, getAsHll, getAsMap, getAsRegister, getAsSet, isCounter, isFlag, isHll, isMap, isRegister, isSet
public Long view()
Long
value.view
in class RiakDatatype
Copyright © 2016. All rights reserved.