public static final class RecordingLog.RecoveryPlan extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
appendedLogPosition
The position reached for local appended log.
|
long |
committedLogPosition
The position reached for the local appended log for which the commit position is known.
|
long |
lastLeadershipTermId
The last, i.e.
|
long |
lastTermBaseLogPosition
The last, i.e.
|
RecordingLog.Log |
log
The appended local log details.
|
ArrayList<RecordingLog.Snapshot> |
snapshots
The most recent snapshots for the consensus module and services to accelerate recovery.
|
| Constructor and Description |
|---|
RecoveryPlan(long lastLeadershipTermId,
long lastTermBaseLogPosition,
long appendedLogPosition,
long committedLogPosition,
ArrayList<RecordingLog.Snapshot> snapshots,
RecordingLog.Log log) |
public final long lastLeadershipTermId
public final long lastTermBaseLogPosition
public final long appendedLogPosition
public final long committedLogPosition
public final ArrayList<RecordingLog.Snapshot> snapshots
public final RecordingLog.Log log
public RecoveryPlan(long lastLeadershipTermId,
long lastTermBaseLogPosition,
long appendedLogPosition,
long committedLogPosition,
ArrayList<RecordingLog.Snapshot> snapshots,
RecordingLog.Log log)
lastLeadershipTermId - the last, i.e. most recent, leadership term identity for the log.lastTermBaseLogPosition - last, i.e. most recent, leadership term base log position.appendedLogPosition - reached for local appended log.committedLogPosition - reached for the local appended log for which the commit position is known.snapshots - most recent snapshots for the consensus module and services.log - appended local log details.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.