Package org.elasticsearch.index.seqno
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-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RetentionLeaseActions.Add
static class
RetentionLeaseActions.AddRequest
static class
RetentionLeaseActions.Remove
static class
RetentionLeaseActions.RemoveRequest
static class
RetentionLeaseActions.Renew
static class
RetentionLeaseActions.RenewRequest
static class
RetentionLeaseActions.Response
-
Field Summary
Fields Modifier and Type Field Description static long
RETAIN_ALL
-
Constructor Summary
Constructors Constructor Description RetentionLeaseActions()
-
Method Summary
-
Field Details
-
RETAIN_ALL
public static final long RETAIN_ALL- See Also:
- Constant Field Values
-
-
Constructor Details
-
RetentionLeaseActions
public RetentionLeaseActions()
-