- get(long) - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- get(long) - Method in class org.apache.ratis.server.raftlog.RaftLog
-
Get the log entry of the given index.
- get() - Method in class org.apache.ratis.server.raftlog.RaftLogIndex
-
- get(long) - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- get(T, Function<T, RaftServerConfigKeys.Log.CorruptionPolicy>) - Static method in enum org.apache.ratis.server.RaftServerConfigKeys.Log.CorruptionPolicy
-
- getCachedSegmentNum() - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogCache
-
- getClientRequest() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- getClientRequest() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- getClientRequestTimer(RaftClientRequest) - Method in class org.apache.ratis.server.impl.RaftServerMetrics
-
- getClosedLogFile(long, long) - Method in class org.apache.ratis.server.storage.RaftStorageDirectory
-
- getClosedSegmentsSizeInBytes() - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogCache
-
- getCommitInfoCache() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
return ref to the commit info cache.
- getCorruptSnapshotFile(long, long) - Method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getCorruptSnapshotFileName(long, long) - Static method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getCounter(String) - Method in class org.apache.ratis.server.impl.RaftServerMetrics
-
- getCurrentTerm() - Method in class org.apache.ratis.server.impl.ServerState
-
- getCurrentTerm() - Method in interface org.apache.ratis.server.RaftServerMXBean
-
Latest RAFT term.
- getDefault() - Static method in enum org.apache.ratis.server.RaftServerConfigKeys.Log.CorruptionPolicy
-
- getDefaultLog() - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- getEndIndex() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory.LogPathAndIndex
-
- getEntries(long, long) - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getEntries(long, long) - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getEntries(long, long) - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- getEntry(TimeDuration) - Method in class org.apache.ratis.server.raftlog.RaftLog.EntryWithData
-
- getEntryString() - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getEntryWithData(long) - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getEntryWithData(long) - Method in class org.apache.ratis.server.raftlog.RaftLog
-
Get the log entry of the given index along with the state machine data.
- getEntryWithData(long) - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- getException() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- getException() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- getFactory() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getFactory() - Method in interface org.apache.ratis.server.RaftServer
-
- getFile() - Method in class org.apache.ratis.statemachine.impl.SingleFileSnapshotInfo
-
- getFileDigest() - Method in class org.apache.ratis.server.storage.FileInfo
-
- getFiles() - Method in class org.apache.ratis.statemachine.impl.FileListSnapshotInfo
-
- getFiles() - Method in interface org.apache.ratis.statemachine.SnapshotInfo
-
Returns a list of files corresponding to this snapshot.
- getFileSize() - Method in class org.apache.ratis.server.storage.FileInfo
-
- getFlushIndex() - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getFlushIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getFlushIndex() - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- getFlushTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getFollower() - Method in class org.apache.ratis.server.impl.LogAppender
-
- getFollowerAppendEntryTimer(boolean) - Method in class org.apache.ratis.server.impl.RaftServerMetrics
-
- getFollowerId() - Method in class org.apache.ratis.server.impl.LogAppender
-
- getFollowerNextIndices() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getFollowers() - Method in interface org.apache.ratis.server.RaftServerMXBean
-
Addresses of the followers, only for leaders
- getFuture() - Method in class org.apache.ratis.server.impl.PendingRequest
-
- getGroupId() - Method in interface org.apache.ratis.server.RaftServerMXBean
-
Cluster identifier.
- getGroupId() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getGroupIds() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getGroupIds() - Method in interface org.apache.ratis.server.RaftServer
-
- getGroupInfo(GroupInfoRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getGroupInfoAsync(GroupInfoRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getGroupList(GroupListRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getGroupListAsync(GroupListRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getGroups() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getGroups() - Method in interface org.apache.ratis.server.RaftServer
-
- getHalfMinTimeoutMs() - Method in class org.apache.ratis.server.impl.LogAppender
-
- getHeaderLength() - Static method in interface org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogFormat
-
- getHeartbeatRemainingTime() - Method in class org.apache.ratis.server.impl.LogAppender
-
- getId() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getId() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getId() - Method in class org.apache.ratis.server.impl.RaftServerRpcWithProxy
-
- getId() - Method in interface org.apache.ratis.server.RaftServer
-
- getId() - Method in interface org.apache.ratis.server.RaftServerMXBean
-
Identifier of the current server.
- getId() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getImpl(RaftGroupId) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getIndex() - Method in interface org.apache.ratis.server.protocol.TermIndex
-
- getIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog.EntryWithData
-
- getIndex() - Method in class org.apache.ratis.statemachine.impl.FileListSnapshotInfo
-
- getIndex() - Method in interface org.apache.ratis.statemachine.SnapshotInfo
-
Returns the index corresponding to this snapshot.
- getInetSocketAddress() - Method in interface org.apache.ratis.server.RaftServerRpc
-
- getLastAppliedIndex() - Method in class org.apache.ratis.server.impl.ServerState
-
- getLastAppliedTermIndex() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getLastAppliedTermIndex() - Method in interface org.apache.ratis.statemachine.StateMachine
-
- getLastCommittedIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getLastEntryTermIndex() - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getLastEntryTermIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getLastEntryTermIndex() - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- getLastLeaderElapsedTimeMs() - Method in class org.apache.ratis.server.impl.ServerState
-
- getLastRpcTime() - Method in class org.apache.ratis.server.impl.FollowerInfo
-
- getLatestInstalledSnapshotIndex() - Method in class org.apache.ratis.server.impl.ServerState
-
- getLatestSnapshot() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getLatestSnapshot() - Method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getLatestSnapshot() - Method in interface org.apache.ratis.statemachine.StateMachine
-
Returns the information for the latest durable snapshot.
- getLatestSnapshot() - Method in interface org.apache.ratis.statemachine.StateMachineStorage
-
Returns the information for the latest durable snapshot.
- getLeaderElectionMetrics() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getLeaderElectionMetrics(RaftServerImpl) - Static method in class org.apache.ratis.server.metrics.LeaderElectionMetrics
-
- getLeaderId() - Method in interface org.apache.ratis.server.RaftServerMXBean
-
Identifier of the leader node.
- getLifeCycle() - Method in class org.apache.ratis.server.impl.RaftServerRpcWithProxy
-
- getLifeCycle() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getLifeCycleState() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getLifeCycleState() - Method in interface org.apache.ratis.server.RaftServer
-
- getLifeCycleState() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getLifeCycleState() - Method in interface org.apache.ratis.statemachine.StateMachine
-
Returns the lifecycle state for this StateMachine.
- getLog() - Method in class org.apache.ratis.server.impl.ServerState
-
- getLogCorruptionPolicy() - Method in class org.apache.ratis.server.storage.RaftStorage
-
- getLogEntry() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- getLogEntry() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
Returns the committed log entry
- getLogSegmentFiles() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory
-
- getMatchIndex() - Method in class org.apache.ratis.server.impl.FollowerInfo
-
- getMemberId() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getMetaFile() - Method in class org.apache.ratis.server.storage.RaftStorage
-
- getName() - Method in class org.apache.ratis.server.impl.FollowerInfo
-
- getName() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getNewTempDir() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory
-
Returns a uniquely named temporary directory under $rootdir/tmp/
- getNextIndex() - Method in class org.apache.ratis.server.impl.FollowerInfo
-
- getNextIndex() - Method in class org.apache.ratis.server.impl.ServerState
-
- getNextIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getNumSnapshotsRetained() - Method in interface org.apache.ratis.statemachine.impl.SnapshotRetentionPolicy
-
If a retention policy is configured, get the number of recent snapshots to
retain.
- getOpenLogFile(long) - Method in class org.apache.ratis.server.storage.RaftStorageDirectory
-
- getOpenSegmentSizeInBytes() - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogCache
-
- getOption(String) - Static method in enum org.apache.ratis.server.impl.RaftServerConstants.StartupOption
-
- getOtherPeers(RaftPeerId) - Method in class org.apache.ratis.server.impl.RaftConfiguration
-
- getPath() - Method in class org.apache.ratis.server.storage.FileInfo
-
- getPath() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory.LogPathAndIndex
-
- getPeer() - Method in class org.apache.ratis.server.impl.FollowerInfo
-
- getPeer(RaftPeerId) - Method in class org.apache.ratis.server.impl.RaftConfiguration
-
- getPeerCommitIndexGauge(RaftServerImpl, RaftServerImpl) - Static method in class org.apache.ratis.server.impl.RaftServerMetrics
-
Get the commit index gauge for the given peer of the server
- getPeers() - Method in class org.apache.ratis.server.impl.RaftConfiguration
-
- getProperties() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getProperties() - Method in interface org.apache.ratis.server.RaftServer
-
- getProxies() - Method in class org.apache.ratis.server.impl.RaftServerRpcWithProxy
-
- getProxy() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getRaftLog() - Method in class org.apache.ratis.server.impl.LogAppender
-
- getRaftLogAppendEntryTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogEnqueueDelayTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogLoadSegmentTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogMetrics() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getRaftLogPurgeTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogQueueTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogReadEntryTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogSyncTimer() - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftLogTaskExecutionTimer(String) - Method in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- getRaftServerMetrics() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getRaftServerMetrics(RaftServerImpl) - Static method in class org.apache.ratis.server.impl.RaftServerMetrics
-
- getRegistry() - Method in class org.apache.ratis.server.impl.RaftServerMetrics
-
- getRetryCache() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getRole() - Method in interface org.apache.ratis.server.RaftServerMXBean
-
RAFT Role of the server.
- getRoleInfoProto() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getRoot() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory
-
Get root directory of this storage
- getRpcType() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getSerializedSize(RaftProtos.LogEntryProto) - Static method in interface org.apache.ratis.server.impl.ServerProtoUtils
-
- getSerializedSize() - Method in class org.apache.ratis.server.raftlog.RaftLog.EntryWithData
-
- getServer() - Method in class org.apache.ratis.server.impl.LogAppender
-
- getServer() - Method in class org.apache.ratis.server.RaftServerRpc.Builder
-
- getServer() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getServerRole() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- getServerRole() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- getServerRpc() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getServerRpc() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- getSmDir() - Method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getSnapshotFile(long, long) - Method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getSnapshotFileName(long, long) - Static method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getSnapshotIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getStartIndex() - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getStartIndex() - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- getStartIndex() - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- getStartIndex() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory.LogPathAndIndex
-
- getState() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getStateMachine() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- getStateMachineContext() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- getStateMachineContext() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- getStateMachineData(RaftProtos.LogEntryProto) - Static method in interface org.apache.ratis.server.impl.ServerProtoUtils
-
- getStateMachineDir() - Method in class org.apache.ratis.server.storage.RaftStorageDirectory
-
- getStateMachineEntry(RaftProtos.LogEntryProto) - Static method in interface org.apache.ratis.server.impl.ServerProtoUtils
-
- getStateMachineLogEntry() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- getStateMachineLogEntry() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- getStateMachineMetrics(RaftServerImpl, RaftLogIndex, StateMachine) - Static method in class org.apache.ratis.server.impl.StateMachineMetrics
-
- getStateMachineStorage() - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- getStateMachineStorage() - Method in interface org.apache.ratis.statemachine.StateMachine
-
- getStorage() - Method in class org.apache.ratis.server.impl.ServerState
-
- getStorageDir() - Method in class org.apache.ratis.server.storage.RaftStorage
-
- getTakeSnapshotTimer() - Method in class org.apache.ratis.server.impl.StateMachineMetrics
-
- getTerm() - Method in interface org.apache.ratis.server.protocol.TermIndex
-
- getTerm() - Method in class org.apache.ratis.server.raftlog.RaftLog.Metadata
-
- getTerm() - Method in class org.apache.ratis.server.storage.MetaFile
-
- getTerm() - Method in class org.apache.ratis.statemachine.impl.FileListSnapshotInfo
-
- getTerm() - Method in interface org.apache.ratis.statemachine.SnapshotInfo
-
Returns the term corresponding to this snapshot.
- getTerminator() - Static method in interface org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogFormat
-
- getTermIndex(long) - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- getTermIndex(long) - Method in class org.apache.ratis.server.raftlog.RaftLog
-
Get the TermIndex information of the given index.
- getTermIndex(long) - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- getTermIndex() - Method in class org.apache.ratis.statemachine.impl.FileListSnapshotInfo
-
- getTermIndex() - Method in interface org.apache.ratis.statemachine.SnapshotInfo
-
Returns the term and index corresponding to this snapshot.
- getTermIndexFromSnapshotFile(File) - Static method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getThis() - Method in class org.apache.ratis.server.RaftServerRpc.Builder
-
- getTimer(String) - Method in class org.apache.ratis.server.impl.RaftServerMetrics
-
- getTmpSnapshotFile(long, long) - Method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getTmpSnapshotFileName(long, long) - Static method in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- getVotedFor() - Method in class org.apache.ratis.server.raftlog.RaftLog.Metadata
-
- getVotedFor() - Method in class org.apache.ratis.server.storage.MetaFile
-
- getWritableByteChannel() - Method in interface org.apache.ratis.statemachine.StateMachine.DataStream
-
- groupManagement(GroupManagementRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- groupManagementAsync(GroupManagementRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- SEGMENT_CACHE_NUM_MAX_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- SEGMENT_CACHE_NUM_MAX_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
Besides the open segment, the max number of segments caching log entries.
- SEGMENT_SIZE_MAX_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- SEGMENT_SIZE_MAX_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- segmentCacheNumMax(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- SegmentedRaftLog - Class in org.apache.ratis.server.raftlog.segmented
-
The RaftLog implementation that writes log entries into segmented files in
local disk.
- SegmentedRaftLog(RaftGroupMemberId, RaftServerImpl, RaftStorage, long, RaftProperties) - Constructor for class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-
- SegmentedRaftLogCache - Class in org.apache.ratis.server.raftlog.segmented
-
In-memory RaftLog Cache.
- SegmentedRaftLogFormat - Interface in org.apache.ratis.server.raftlog.segmented
-
- SegmentedRaftLogFormat.Internal - Class in org.apache.ratis.server.raftlog.segmented
-
- SegmentedRaftLogInputStream - Class in org.apache.ratis.server.raftlog.segmented
-
- SegmentedRaftLogInputStream(File, long, long, boolean) - Constructor for class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogInputStream
-
- SegmentedRaftLogOutputStream - Class in org.apache.ratis.server.raftlog.segmented
-
- SegmentedRaftLogOutputStream(File, boolean, long, long, ByteBuffer) - Constructor for class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogOutputStream
-
- segmentSizeMax(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- ServerFactory - Interface in org.apache.ratis.server.impl
-
A factory interface for creating server components.
- ServerFactory.BaseFactory - Class in org.apache.ratis.server.impl
-
- ServerImplUtils - Class in org.apache.ratis.server.impl
-
Server utilities for internal use.
- ServerProtoUtils - Interface in org.apache.ratis.server.impl
-
Server proto utilities for internal use.
- ServerState - Class in org.apache.ratis.server.impl
-
Common states of a raft peer.
- set(long, String) - Method in class org.apache.ratis.server.storage.MetaFile
-
- setAutoTriggerEnabled(RaftProperties, boolean) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Snapshot
-
- setAutoTriggerThreshold(RaftProperties, long) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Snapshot
-
- setBufferByteLimit(RaftProperties, SizeInBytes) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- setBufferElementLimit(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- setByteLimit(RaftProperties, SizeInBytes) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Write
-
- setCachingEnabled(RaftProperties, boolean) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- setClientRequest(RaftClientRequest) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setConf(PeerConfiguration) - Method in class org.apache.ratis.server.impl.RaftConfiguration.Builder
-
- setConf(Iterable<RaftPeer>) - Method in class org.apache.ratis.server.impl.RaftConfiguration.Builder
-
- setConfiguration(SetConfigurationRequest) - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- setConfiguration(SetConfigurationRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- setConfigurationAsync(SetConfigurationRequest) - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
Handle a raft configuration change request from client.
- setConfigurationAsync(SetConfigurationRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
Handle a raft configuration change request from client.
- setCorruptionPolicy(RaftProperties, RaftServerConfigKeys.Log.CorruptionPolicy) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setElementLimit(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Watch
-
- setElementLimit(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Write
-
- setException(Exception) - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- setException(Exception) - Method in interface org.apache.ratis.statemachine.TransactionContext
-
Set exception in case of failure.
- setExpiryTime(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.RetryCache
-
- setForceSyncNum(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setGroup(RaftGroup) - Method in class org.apache.ratis.server.RaftServer.Builder
-
Set all the peers (including the server being built) in the Raft cluster.
- setInstallSnapshotEnabled(RaftProperties, boolean) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- setLastAppliedTermIndex(TermIndex) - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- setLogData(ByteString) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setLogEntry(RaftProtos.LogEntryProto) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setLogEntryIndex(long) - Method in class org.apache.ratis.server.impl.RaftConfiguration.Builder
-
- setNoLeaderTimeout(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Notification
-
- setOldConf(PeerConfiguration) - Method in class org.apache.ratis.server.impl.RaftConfiguration.Builder
-
- setOldConf(Iterable<RaftPeer>) - Method in class org.apache.ratis.server.impl.RaftConfiguration.Builder
-
- setParameters(Parameters) - Method in class org.apache.ratis.server.RaftServer.Builder
-
- setPreallocatedSize(RaftProperties, SizeInBytes) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setProperties(RaftProperties) - Method in class org.apache.ratis.server.RaftServer.Builder
-
- setPurgeGap(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setPurgeUptoSnapshotIndex(RaftProperties, boolean) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setQueueByteLimit(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setQueueElementLimit(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setRequestTimeout(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- setRetentionFileNum(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Snapshot
-
- setSegmentCacheNumMax(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setSegmentSizeMax(RaftProperties, SizeInBytes) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setServer(RaftServer) - Method in class org.apache.ratis.server.RaftServerRpc.Builder
-
- setServerId(RaftPeerId) - Method in class org.apache.ratis.server.RaftServer.Builder
-
Set the server ID.
- setServerRole(RaftProtos.RaftPeerRole) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setShouldCommit(boolean) - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- setShouldCommit(boolean) - Method in interface org.apache.ratis.statemachine.TransactionContext
-
Sets whether to commit the transaction to the RAFT log or not
- setSleepDeviationThreshold(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- setSleepTime(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- setSlownessTimeout(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- setSnapshotChunkSizeMax(RaftProperties, SizeInBytes) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- setSnapshotIndex(long) - Method in class org.apache.ratis.server.impl.FollowerInfo
-
- setStagingCatchupGap(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- setStateMachine(StateMachine) - Method in class org.apache.ratis.server.RaftServer.Builder
-
- setStateMachine(StateMachine) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setStateMachineContext(Object) - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- setStateMachineContext(Object) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setStateMachineContext(Object) - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- setStateMachineData(ByteString) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setStateMachineLogEntry(RaftProtos.StateMachineLogEntryProto) - Method in class org.apache.ratis.statemachine.TransactionContext.Builder
-
- setStateMachineLogEntryProto(RaftProtos.StateMachineLogEntryProto) - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- setStateMachineLogEntryProto(RaftProtos.StateMachineLogEntryProto) - Method in interface org.apache.ratis.statemachine.TransactionContext
-
- setStateMachineRegistry(StateMachine.Registry) - Method in class org.apache.ratis.server.RaftServer.Builder
-
Set the StateMachine.Registry of the server.
- setStorageDir(RaftProperties, List<File>) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- setSync(RaftProperties, boolean) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- setSyncTimeout(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- setSyncTimeoutRetry(RaftProperties, int) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- setTimeout(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Watch
-
- setTimeoutDenomination(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Watch
-
- setTimeoutMax(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- setTimeoutMin(RaftProperties, TimeDuration) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- setUnconditionally(long, Consumer<Object>) - Method in class org.apache.ratis.server.raftlog.RaftLogIndex
-
- setUseMemory(RaftProperties, boolean) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- setWriteBufferSize(RaftProperties, SizeInBytes) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log
-
- shouldCommit() - Method in class org.apache.ratis.statemachine.impl.TransactionContextImpl
-
- shouldCommit() - Method in interface org.apache.ratis.statemachine.TransactionContext
-
It indicates if the transaction should be committed to the RAFT log
- shouldHeartbeat() - Method in class org.apache.ratis.server.impl.LogAppender
-
- shouldInstallSnapshot() - Method in class org.apache.ratis.server.impl.LogAppender
-
- shouldReadStateMachineData(RaftProtos.LogEntryProto) - Static method in interface org.apache.ratis.server.impl.ServerProtoUtils
-
- shouldSendRequest() - Method in class org.apache.ratis.server.impl.LogAppender
-
Should the leader send appendEntries RPC to this follower?
- shutdown(boolean) - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- SimpleStateMachineStorage - Class in org.apache.ratis.statemachine.impl
-
A StateMachineStorage that stores the snapshot in a single file.
- SimpleStateMachineStorage() - Constructor for class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
- SingleFileSnapshotInfo - Class in org.apache.ratis.statemachine.impl
-
Each snapshot only has a single file.
- SingleFileSnapshotInfo(FileInfo, long, long) - Constructor for class org.apache.ratis.statemachine.impl.SingleFileSnapshotInfo
-
- size() - Method in class org.apache.ratis.server.impl.RetryCache
-
- SLEEP_DEVIATION_THRESHOLD_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys
-
- SLEEP_DEVIATION_THRESHOLD_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys
-
- SLEEP_TIME_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- SLEEP_TIME_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- sleepDeviationThreshold(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- sleepTime(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- SLOWNESS_TIMEOUT_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- SLOWNESS_TIMEOUT_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- slownessTimeout(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Rpc
-
- SNAPSHOT_CHUNK_SIZE_MAX_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- SNAPSHOT_CHUNK_SIZE_MAX_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- SNAPSHOT_REGEX - Static variable in class org.apache.ratis.statemachine.impl.SimpleStateMachineStorage
-
snapshot.term_index
- snapshotChunkSizeMax(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.Appender
-
- SnapshotInfo - Interface in org.apache.ratis.statemachine
-
SnapshotInfo represents a durable state by the state machine.
- SnapshotManager - Class in org.apache.ratis.server.storage
-
Manage snapshots of a raft peer.
- SnapshotManager(RaftStorage, RaftPeerId) - Constructor for class org.apache.ratis.server.storage.SnapshotManager
-
- SnapshotRequestIter(SnapshotInfo, String) - Constructor for class org.apache.ratis.server.impl.LogAppender.SnapshotRequestIter
-
- SnapshotRetentionPolicy - Interface in org.apache.ratis.statemachine.impl
-
Policy for retention of Ratis snapshot files.
- STAGING_CATCHUP_GAP_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys
-
- STAGING_CATCHUP_GAP_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys
-
When bootstrapping a new peer, If the gap between the match index of the
peer and the leader's latest committed index is less than this gap, we
treat the peer as caught-up.
- stagingCatchupGap(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- start() - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- start() - Method in class org.apache.ratis.server.impl.RaftServerRpcWithProxy
-
- start() - Method in interface org.apache.ratis.server.RaftServer
-
Start this server.
- start() - Method in interface org.apache.ratis.server.RaftServerRpc
-
Start the RPC service.
- startImpl() - Method in class org.apache.ratis.server.impl.RaftServerRpcWithProxy
-
- startTransaction(RaftClientRequest) - Method in class org.apache.ratis.statemachine.impl.BaseStateMachine
-
- startTransaction(RaftClientRequest) - Method in interface org.apache.ratis.statemachine.StateMachine
-
Validate/pre-process the incoming update request in the state machine.
- STATE_MACHINE_LOG_ENTRY_COUNT - Static variable in class org.apache.ratis.server.metrics.RaftLogMetrics
-
- StateMachine - Interface in org.apache.ratis.statemachine
-
StateMachine is the entry point for the custom implementation of replicated state as defined in
the "State Machine Approach" in the literature
(see https://en.wikipedia.org/wiki/State_machine_replication).
- StateMachine.DataApi - Interface in org.apache.ratis.statemachine
-
- StateMachine.DataStream - Interface in org.apache.ratis.statemachine
-
For streaming state machine data.
- StateMachine.Registry - Interface in org.apache.ratis.statemachine
-
A registry to support different state machines in multi-raft environment.
- STATEMACHINE_APPLIED_INDEX_GAUGE - Static variable in class org.apache.ratis.server.impl.StateMachineMetrics
-
- STATEMACHINE_APPLY_COMPLETED_GAUGE - Static variable in class org.apache.ratis.server.impl.StateMachineMetrics
-
- STATEMACHINE_TAKE_SNAPSHOT_TIMER - Static variable in class org.apache.ratis.server.impl.StateMachineMetrics
-
- StateMachineMetrics - Class in org.apache.ratis.server.impl
-
Metrics Registry for the State Machine Updater.
- StateMachineStorage - Interface in org.apache.ratis.statemachine
-
- stats() - Method in class org.apache.ratis.server.impl.RetryCache
-
- stopAppender() - Method in class org.apache.ratis.server.impl.LogAppender
-
- STORAGE_DIR_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys
-
- STORAGE_DIR_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys
-
- storageDir(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys
-
- stream(RaftClientRequest) - Method in interface org.apache.ratis.statemachine.StateMachine.DataApi
-
- submitClientRequest(RaftClientRequest) - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- submitClientRequest(RaftClientRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- submitClientRequestAsync(RaftClientRequest) - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- submitClientRequestAsync(RaftClientRequest) - Method in class org.apache.ratis.server.impl.RaftServerProxy
-
- submitEventOnSuccessAppend() - Method in class org.apache.ratis.server.impl.LogAppender
-
- submitUpdateCommitEvent() - Method in class org.apache.ratis.server.impl.RaftServerImpl
-
- sync(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- SYNC_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- SYNC_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- SYNC_TIMEOUT_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- SYNC_TIMEOUT_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- SYNC_TIMEOUT_RETRY_DEFAULT - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- SYNC_TIMEOUT_RETRY_KEY - Static variable in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
-1: retry indefinitely
0: no retry
>0: the number of retries
- syncTimeout(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- syncTimeoutRetry(RaftProperties) - Static method in interface org.apache.ratis.server.RaftServerConfigKeys.Log.StateMachineData
-
- syncWithSnapshot(long) - Method in class org.apache.ratis.server.raftlog.memory.MemoryRaftLog
-
- syncWithSnapshot(long) - Method in class org.apache.ratis.server.raftlog.RaftLog
-
- syncWithSnapshot(long) - Method in class org.apache.ratis.server.raftlog.segmented.SegmentedRaftLog
-