Interface ReplicationOperation.ReplicaResponse
- All Known Implementing Classes:
TransportReplicationAction.ReplicaResponse
- Enclosing class:
- ReplicationOperation<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,PrimaryResultT extends ReplicationOperation.PrimaryResult<ReplicaRequest>>
public static interface ReplicationOperation.ReplicaResponse
An interface to encapsulate the metadata needed from replica shards when they respond to operations performed on them.
-
Method Summary
Modifier and TypeMethodDescriptionlong
The persisted global checkpoint for the shard.long
The persisted local checkpoint for the shard.
-
Method Details
-
localCheckpoint
long localCheckpoint()The persisted local checkpoint for the shard.- Returns:
- the persisted local checkpoint
-
globalCheckpoint
long globalCheckpoint()The persisted global checkpoint for the shard.- Returns:
- the persisted global checkpoint
-