public interface ClusterBackupEventsListener
ClusterBackup.Context for tracking backup progress.| Modifier and Type | Method and Description |
|---|---|
void |
onBackupQuery()
Backup has moved into backup query state.
|
void |
onBackupResponse(ClusterMember[] clusterMembers,
ClusterMember logSourceMember,
List<RecordingLog.Snapshot> snapshotsToRetrieve)
Backup response was received for a backup query.
|
void |
onLiveLogProgress(long recordingId,
long recordingPosCounterId,
long logPosition)
Update to the live log position as recorded to the local archive
|
void |
onPossibleFailure(Exception ex)
Possible failure of cluster leader detected.
|
void |
onUpdatedRecordingLog(RecordingLog recordingLog,
List<RecordingLog.Snapshot> snapshotsRetrieved)
Updated recording log.
|
void onBackupQuery()
void onPossibleFailure(Exception ex)
ex - the underlying exception.void onBackupResponse(ClusterMember[] clusterMembers, ClusterMember logSourceMember, List<RecordingLog.Snapshot> snapshotsToRetrieve)
clusterMembers - in the backup response.logSourceMember - to be used to replicate data from.snapshotsToRetrieve - snapshots to be retrieved.void onUpdatedRecordingLog(RecordingLog recordingLog, List<RecordingLog.Snapshot> snapshotsRetrieved)
recordingLog - that was updated.snapshotsRetrieved - the snapshots that were retrieved.void onLiveLogProgress(long recordingId,
long recordingPosCounterId,
long logPosition)
recordingId - of the live log.recordingPosCounterId - RecordingPos counter id for the live log.logPosition - of the live log.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.