| 程序包 | 说明 |
|---|---|
| org.apache.ratis.server | |
| org.apache.ratis.server.leader | |
| org.apache.ratis.statemachine |
| 类和说明 |
|---|
| 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.DataStream
For streaming state machine data.
|
| StateMachine.Registry
A registry to support different state machines in multi-raft environment.
|
| 类和说明 |
|---|
| SnapshotInfo
The information of a state machine snapshot,
where a snapshot captures the states at a particular
TermIndex. |
| 类和说明 |
|---|
| SnapshotInfo
The information of a state machine snapshot,
where a snapshot captures the states at a particular
TermIndex. |
| SnapshotRetentionPolicy
Retention policy of state machine snapshots.
|
| 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
An optional API for managing data outside the raft log.
|
| StateMachine.DataChannel
For write state machine data.
|
| StateMachine.DataStream
For streaming state machine data.
|
| StateMachine.EventApi
An optional API for event notifications.
|
| StateMachine.FollowerEventApi
An optional API for follower-only event notifications.
|
| StateMachine.LeaderEventApi
An optional API for leader-only event notifications.
|
| StateMachineStorage |
| TransactionContext
Context for a transaction.
|
| TransactionContext.Builder |
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.