Interface QuorumStats.Provider
-
- All Known Implementing Classes:
QuorumPeer
- Enclosing class:
- QuorumStats
public static interface QuorumStats.Provider
-
-
Field Summary
Fields Modifier and Type Field Description static StringFOLLOWING_STATEstatic StringLEADING_STATEstatic StringLOOKING_STATEstatic StringOBSERVING_STATEstatic StringUNKNOWN_STATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]getQuorumPeers()StringgetServerState()
-
-
-
Field Detail
-
UNKNOWN_STATE
static final String UNKNOWN_STATE
- See Also:
- Constant Field Values
-
LOOKING_STATE
static final String LOOKING_STATE
- See Also:
- Constant Field Values
-
LEADING_STATE
static final String LEADING_STATE
- See Also:
- Constant Field Values
-
FOLLOWING_STATE
static final String FOLLOWING_STATE
- See Also:
- Constant Field Values
-
OBSERVING_STATE
static final String OBSERVING_STATE
- See Also:
- Constant Field Values
-
-