public static interface RaftServerConfigKeys.Notification
| Modifier and Type | Field and Description |
|---|---|
static TimeDuration |
NO_LEADER_TIMEOUT_DEFAULT |
static String |
NO_LEADER_TIMEOUT_KEY
Timeout value to notify the state machine when there is no leader.
|
static String |
PREFIX |
| Modifier and Type | Method and Description |
|---|---|
static TimeDuration |
noLeaderTimeout(RaftProperties properties) |
static void |
setNoLeaderTimeout(RaftProperties properties,
TimeDuration leaderElectionTimeout) |
static final String PREFIX
static final String NO_LEADER_TIMEOUT_KEY
static final TimeDuration NO_LEADER_TIMEOUT_DEFAULT
static TimeDuration noLeaderTimeout(RaftProperties properties)
static void setNoLeaderTimeout(RaftProperties properties, TimeDuration leaderElectionTimeout)
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.