Uses of Class
org.elasticsearch.index.seqno.RetentionLeases
-
Packages that use RetentionLeases Package Description org.elasticsearch.index.engine org.elasticsearch.index.seqno org.elasticsearch.index.shard org.elasticsearch.indices.recovery -
-
Uses of RetentionLeases in org.elasticsearch.index.engine
Methods in org.elasticsearch.index.engine that return types with arguments of type RetentionLeases Modifier and Type Method Description Supplier<RetentionLeases>EngineConfig. retentionLeasesSupplier()A supplier of the outstanding retention leases.Constructor parameters in org.elasticsearch.index.engine with type arguments of type RetentionLeases Constructor Description EngineConfig(ShardId shardId, String allocationId, ThreadPool threadPool, IndexSettings indexSettings, Engine.Warmer warmer, Store store, MergePolicy mergePolicy, Analyzer analyzer, Similarity similarity, CodecService codecService, Engine.EventListener eventListener, QueryCache queryCache, QueryCachingPolicy queryCachingPolicy, TranslogConfig translogConfig, TimeValue flushMergesAfter, List<ReferenceManager.RefreshListener> externalRefreshListener, List<ReferenceManager.RefreshListener> internalRefreshListener, Sort indexSort, CircuitBreakerService circuitBreakerService, LongSupplier globalCheckpointSupplier, Supplier<RetentionLeases> retentionLeasesSupplier, LongSupplier primaryTermSupplier, EngineConfig.TombstoneDocSupplier tombstoneDocSupplier)Creates a newEngineConfig -
Uses of RetentionLeases in org.elasticsearch.index.seqno
Fields in org.elasticsearch.index.seqno declared as RetentionLeases Modifier and Type Field Description static RetentionLeasesRetentionLeases. EMPTYRepresents an empty an un-versioned retention lease collection.Methods in org.elasticsearch.index.seqno that return RetentionLeases Modifier and Type Method Description static RetentionLeasesRetentionLeases. fromXContent(XContentParser parser)Parses a retention leases collection fromXContent.RetentionLeasesReplicationTracker. getRetentionLeases()Get all retention leases tracked on this shard.RetentionLeasesRetentionLeaseBackgroundSyncAction.Request. getRetentionLeases()RetentionLeasesRetentionLeaseSyncAction.Request. getRetentionLeases()RetentionLeasesReplicationTracker. loadRetentionLeases(Path path)Loads the latest retention leases from their dedicated state file.RetentionLeasesRetentionLeaseStats. retentionLeases()The underlying retention lease collection backing this stats object.Methods in org.elasticsearch.index.seqno that return types with arguments of type RetentionLeases Modifier and Type Method Description Tuple<Boolean,RetentionLeases>ReplicationTracker. getRetentionLeases(boolean expireLeases)If the expire leases parameter is false, gets all retention leases tracked on this shard and otherwise first calculates expiration of existing retention leases, and then gets all non-expired retention leases tracked on this shard.Methods in org.elasticsearch.index.seqno with parameters of type RetentionLeases Modifier and Type Method Description voidRetentionLeaseBackgroundSyncAction. backgroundSync(ShardId shardId, RetentionLeases retentionLeases)Background sync the specified retention leases for the specified shard.voidRetentionLeaseSyncer. backgroundSync(ShardId shardId, RetentionLeases retentionLeases)voidRetentionLeaseSyncAction. sync(ShardId shardId, RetentionLeases retentionLeases, ActionListener<ReplicationResponse> listener)Sync the specified retention leases for the specified shard.voidRetentionLeaseSyncer. sync(ShardId shardId, RetentionLeases retentionLeases, ActionListener<ReplicationResponse> listener)Represents a method that when invoked syncs retention leases to replica shards after a new retention lease is added on the primary.voidReplicationTracker. updateRetentionLeasesOnReplica(RetentionLeases retentionLeases)Updates retention leases on a replica.Constructors in org.elasticsearch.index.seqno with parameters of type RetentionLeases Constructor Description Request(ShardId shardId, RetentionLeases retentionLeases)Request(ShardId shardId, RetentionLeases retentionLeases)RetentionLeaseStats(RetentionLeases retentionLeases)Constructs a new retention lease stats object from the specified retention lease collection.Constructor parameters in org.elasticsearch.index.seqno with type arguments of type RetentionLeases Constructor Description ReplicationTracker(ShardId shardId, String allocationId, IndexSettings indexSettings, long operationPrimaryTerm, long globalCheckpoint, LongConsumer onGlobalCheckpointUpdated, LongSupplier currentTimeMillisSupplier, BiConsumer<RetentionLeases,ActionListener<ReplicationResponse>> onSyncRetentionLeases, Supplier<SafeCommitInfo> safeCommitInfoSupplier)Initialize the global checkpoint service. -
Uses of RetentionLeases in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return RetentionLeases Modifier and Type Method Description RetentionLeasesIndexShard. getRetentionLeases()Get all retention leases tracked on this shard.RetentionLeasesIndexShard. loadRetentionLeases()Loads the latest retention leases from their dedicated state file.Methods in org.elasticsearch.index.shard that return types with arguments of type RetentionLeases Modifier and Type Method Description Tuple<Boolean,RetentionLeases>IndexShard. getRetentionLeases(boolean expireLeases)If the expire leases parameter is false, gets all retention leases tracked on this shard and otherwise first calculates expiration of existing retention leases, and then gets all non-expired retention leases tracked on this shard.Methods in org.elasticsearch.index.shard with parameters of type RetentionLeases Modifier and Type Method Description voidIndexShard. updateRetentionLeasesOnReplica(RetentionLeases retentionLeases)Updates retention leases on a replica. -
Uses of RetentionLeases in org.elasticsearch.indices.recovery
Methods in org.elasticsearch.indices.recovery that return RetentionLeases Modifier and Type Method Description RetentionLeasesRecoveryTranslogOperationsRequest. retentionLeases()Methods in org.elasticsearch.indices.recovery with parameters of type RetentionLeases Modifier and Type Method Description voidRecoveryTarget. indexTranslogOperations(List<Translog.Operation> operations, int totalTranslogOps, long maxSeenAutoIdTimestampOnPrimary, long maxSeqNoOfDeletesOrUpdatesOnPrimary, RetentionLeases retentionLeases, long mappingVersionOnPrimary, ActionListener<Long> listener)voidRecoveryTargetHandler. indexTranslogOperations(List<Translog.Operation> operations, int totalTranslogOps, long maxSeenAutoIdTimestampOnPrimary, long maxSeqNoOfUpdatesOrDeletesOnPrimary, RetentionLeases retentionLeases, long mappingVersionOnPrimary, ActionListener<Long> listener)Index a set of translog operations on the targetvoidRemoteRecoveryTargetHandler. indexTranslogOperations(List<Translog.Operation> operations, int totalTranslogOps, long maxSeenAutoIdTimestampOnPrimary, long maxSeqNoOfDeletesOrUpdatesOnPrimary, RetentionLeases retentionLeases, long mappingVersionOnPrimary, ActionListener<Long> listener)
-