public final class Quorum extends Object
Static factory methods are provided as a convenience for using these.
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static String |
DEFAULT |
static String |
ONE |
static String |
QUORUM |
Constructor and Description |
---|
Quorum(int i)
Construct an instance using an integer value.
|
Modifier and Type | Method and Description |
---|---|
static Quorum |
allQuorum()
Static factory method for a quorum of "all"
|
static Quorum |
defaultQuorum()
Static factory method for a quorum of "default"
|
boolean |
equals(Object obj) |
int |
getIntValue()
The int value of the quorum.
|
int |
hashCode() |
boolean |
isSymbolic()
Determine if the quorum has a symbolic value.
|
static Quorum |
oneQuorum()
Static factory method for a quorum of "one"
|
static Quorum |
quorumQuorum()
Static factory method for a quorum of "quorum"
|
String |
toString() |
public static final String ONE
public static final String QUORUM
public static final String ALL
public static final String DEFAULT
public Quorum(int i)
i
- the quorum valuepublic static Quorum oneQuorum()
public static Quorum quorumQuorum()
public static Quorum allQuorum()
public static Quorum defaultQuorum()
public boolean isSymbolic()
public int getIntValue()
Copyright © 2014. All rights reserved.