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 |
---|---|
Long |
view()
Get this RiakCounter as a
Long value. |
getAsCounter, getAsFlag, getAsMap, getAsRegister, getAsSet, isCounter, isFlag, isMap, isRegister, isSet
public Long view()
Long
value.view
in class RiakDatatype
Copyright © 2016. All rights reserved.