Class RetentionLeaseActions

java.lang.Object
org.elasticsearch.index.seqno.RetentionLeaseActions

public class RetentionLeaseActions
extends java.lang.Object
This class holds all actions related to retention leases. Note carefully that these actions are executed under a primary permit. Care is taken to thread the listener through the invocations so that for the sync APIs we do not notify the listener until these APIs have responded with success. Additionally, note the use of TransportSingleShardAction.asyncShardOperation(SingleShardRequest, ShardId, ActionListener) to handle the case when acquiring permits goes asynchronous because acquiring permits is blocked