| Package | Description |
|---|---|
| org.apache.ratis.server | |
| org.apache.ratis.server.impl | |
| org.apache.ratis.server.storage | |
| org.apache.ratis.statemachine | |
| org.apache.ratis.statemachine.impl |
| Modifier and Type | Method and Description |
|---|---|
RaftServer.Builder |
RaftServer.Builder.setStateMachine(StateMachine stateMachine)
Set the
StateMachine of the server. |
| Modifier and Type | Method and Description |
|---|---|
StateMachine |
RaftServerImpl.getStateMachine() |
| Modifier and Type | Method and Description |
|---|---|
static StateMachineMetrics |
StateMachineMetrics.getStateMachineMetrics(RaftServerImpl server,
RaftLogIndex appliedIndex,
StateMachine stateMachine) |
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotManager.installSnapshot(StateMachine stateMachine,
org.apache.ratis.proto.RaftProtos.InstallSnapshotRequestProto request) |
| Modifier and Type | Method and Description |
|---|---|
TransactionContext.Builder |
TransactionContext.Builder.setStateMachine(StateMachine stateMachine) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseStateMachine
Base implementation for StateMachines.
|
| Constructor and Description |
|---|
TransactionContextImpl(org.apache.ratis.proto.RaftProtos.RaftPeerRole serverRole,
StateMachine stateMachine,
org.apache.ratis.proto.RaftProtos.LogEntryProto logEntry)
Construct a
TransactionContext from a RaftProtos.LogEntryProto. |
TransactionContextImpl(StateMachine stateMachine,
RaftClientRequest clientRequest,
org.apache.ratis.proto.RaftProtos.StateMachineLogEntryProto smLogEntryProto,
Object stateMachineContext)
Construct a
TransactionContext from a client request. |
Copyright © 2017–2020 The Apache Software Foundation. All rights reserved.