Uses of Class
org.elasticsearch.index.seqno.RetentionLease
-
Packages that use RetentionLease Package Description org.elasticsearch.index.seqno org.elasticsearch.index.shard org.elasticsearch.indices.store -
-
Uses of RetentionLease in org.elasticsearch.index.seqno
Methods in org.elasticsearch.index.seqno that return RetentionLease Modifier and Type Method Description RetentionLeaseReplicationTracker. addPeerRecoveryRetentionLease(String nodeId, long globalCheckpoint, ActionListener<ReplicationResponse> listener)Retention leases for peer recovery have sourceReplicationTracker.PEER_RECOVERY_RETENTION_LEASE_SOURCE, a lease ID containing the persistent node ID calculated byReplicationTracker.getPeerRecoveryRetentionLeaseId(java.lang.String), and retain operations with sequence numbers strictly greater than the given global checkpoint.RetentionLeaseReplicationTracker. addRetentionLease(String id, long retainingSequenceNumber, String source, ActionListener<ReplicationResponse> listener)Adds a new retention lease.RetentionLeaseReplicationTracker. cloneLocalPeerRecoveryRetentionLease(String nodeId, ActionListener<ReplicationResponse> listener)static RetentionLeaseRetentionLease. fromXContent(XContentParser parser)Parses a retention lease fromXContent.RetentionLeaseRetentionLeases. get(String id)Returns the retention lease with the specified ID, or null if no such retention lease exists.RetentionLeaseReplicationTracker. renewRetentionLease(String id, long retainingSequenceNumber, String source)Renews an existing retention lease.Methods in org.elasticsearch.index.seqno that return types with arguments of type RetentionLease Modifier and Type Method Description List<RetentionLease>ReplicationTracker. getPeerRecoveryRetentionLeases()Returns a list of peer recovery retention leases installed in this replication groupCollection<RetentionLease>RetentionLeases. leases()The underlying collection of retention leasesConstructor parameters in org.elasticsearch.index.seqno with type arguments of type RetentionLease Constructor Description RetentionLeases(long primaryTerm, long version, Collection<RetentionLease> leases)Constructs a new retention lease collection with the specified version and underlying collection of retention leases. -
Uses of RetentionLease in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return RetentionLease Modifier and Type Method Description RetentionLeaseIndexShard. addPeerRecoveryRetentionLease(String nodeId, long globalCheckpoint, ActionListener<ReplicationResponse> listener)RetentionLeaseIndexShard. addRetentionLease(String id, long retainingSequenceNumber, String source, ActionListener<ReplicationResponse> listener)Adds a new retention lease.RetentionLeaseIndexShard. cloneLocalPeerRecoveryRetentionLease(String nodeId, ActionListener<ReplicationResponse> listener)RetentionLeaseIndexShard. renewRetentionLease(String id, long retainingSequenceNumber, String source)Renews an existing retention lease.Methods in org.elasticsearch.index.shard that return types with arguments of type RetentionLease Modifier and Type Method Description List<RetentionLease>IndexShard. getPeerRecoveryRetentionLeases()Returns a list of retention leases for peer recovery installed in this shard copy. -
Uses of RetentionLease in org.elasticsearch.indices.store
Methods in org.elasticsearch.indices.store that return types with arguments of type RetentionLease Modifier and Type Method Description List<RetentionLease>TransportNodesListShardStoreMetaData.StoreFilesMetaData. peerRecoveryRetentionLeases()Constructor parameters in org.elasticsearch.indices.store with type arguments of type RetentionLease Constructor Description StoreFilesMetaData(ShardId shardId, Store.MetadataSnapshot metadataSnapshot, List<RetentionLease> peerRecoveryRetentionLeases)
-