| Package | Description |
|---|---|
| org.apache.ratis.server.impl | |
| org.apache.ratis.server.metrics | |
| org.apache.ratis.server.raftlog.segmented |
| Modifier and Type | Method and Description |
|---|---|
RaftServerImpl |
RaftServerProxy.getImpl(RaftGroupId groupId) |
RaftServerImpl |
LogAppender.getServer() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<RaftServerImpl> |
RaftServerProxy.addGroup(RaftGroup group) |
| Modifier and Type | Method and Description |
|---|---|
static com.codahale.metrics.Gauge |
RaftServerMetrics.getPeerCommitIndexGauge(RaftServerImpl server,
RaftServerImpl peerServer)
Get the commit index gauge for the given peer of the server
|
static RaftServerMetrics |
RaftServerMetrics.getRaftServerMetrics(RaftServerImpl raftServer) |
static StateMachineMetrics |
StateMachineMetrics.getStateMachineMetrics(RaftServerImpl server,
RaftLogIndex appliedIndex,
StateMachine stateMachine) |
LogAppender |
ServerFactory.newLogAppender(RaftServerImpl server,
LeaderState state,
FollowerInfo f)
Create a new
LogAppender. |
LogAppender |
ServerFactory.BaseFactory.newLogAppender(RaftServerImpl server,
LeaderState state,
FollowerInfo f) |
static void |
RaftServerMetrics.removeRaftServerMetrics(RaftServerImpl raftServer) |
| Constructor and Description |
|---|
LogAppender(RaftServerImpl server,
LeaderState leaderState,
FollowerInfo f) |
| Modifier and Type | Method and Description |
|---|---|
static LeaderElectionMetrics |
LeaderElectionMetrics.getLeaderElectionMetrics(RaftServerImpl raftServer) |
| Constructor and Description |
|---|
SegmentedRaftLog(RaftGroupMemberId memberId,
RaftServerImpl server,
RaftStorage storage,
long lastIndexInSnapshot,
RaftProperties properties) |
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.