Package org.elasticsearch.index.seqno
Class RetentionLeaseActions
java.lang.Object
org.elasticsearch.index.seqno.RetentionLeaseActions
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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
RETAIN_ALL
public static final long RETAIN_ALL- See Also:
- Constant Field Values
-
-
Constructor Details
-
RetentionLeaseActions
public RetentionLeaseActions()
-