public class RiakFlag extends RiakDatatype
This in an immutable boolean value which can be returned within a
RiakMap
.
Constructor and Description |
---|
RiakFlag(boolean enabled) |
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled()
Return whether this flag is enabled.
|
Boolean |
view()
Return whether this flag is enabled.
|
getAsCounter, getAsFlag, getAsMap, getAsRegister, getAsSet, isCounter, isFlag, isMap, isRegister, isSet
public boolean getEnabled()
public Boolean view()
view
in class RiakDatatype
Copyright © 2016. All rights reserved.