|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.cap.Quorum
public final class Quorum
Encapsulates a bucket's r/w/dw/rw/p/pr/pw quora as either the symbolic Quora or an int.
BucketPropertiesBuilder| Constructor Summary | |
|---|---|
Quorum(int i)
Construct an instance that wraps an int value |
|
Quorum(Quora quorum)
Construct and instance that wraps a symbolic Quora |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getIntValue()
The int value of the quorum. |
String |
getName()
|
Quora |
getSymbolicValue()
Get the Symbolic value of this quorum. |
int |
hashCode()
|
boolean |
isSymbolic()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Quorum(int i)
i - public Quorum(Quora quorum)
quorum - | Method Detail |
|---|
public boolean isSymbolic()
public int getIntValue()
public Quora getSymbolicValue()
Quora.INTEGER means that the quorum has a meaningful
int value
public String getName()
Quora.getName()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||