Package org.elasticsearch.index.seqno
Interface RetentionLeaseSyncer.SyncAction
- Enclosing class:
- RetentionLeaseSyncer
public static interface RetentionLeaseSyncer.SyncAction
Represents an action that is invoked to sync retention leases to replica shards after a retention lease is added
or removed on the primary. The specified listener is invoked when the syncing completes with success or failure.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sync
(ShardId shardId, String primaryAllocationId, long primaryTerm, RetentionLeases retentionLeases, ActionListener<ReplicationResponse> listener)
-
Method Details
-
sync
void sync(ShardId shardId, String primaryAllocationId, long primaryTerm, RetentionLeases retentionLeases, ActionListener<ReplicationResponse> listener)
-