Class PendingReplicationActions
java.lang.Object
org.elasticsearch.action.support.replication.PendingReplicationActions
- All Implemented Interfaces:
Closeable,AutoCloseable,Consumer<ReplicationGroup>,org.elasticsearch.core.Releasable
public class PendingReplicationActions
extends Object
implements Consumer<ReplicationGroup>, org.elasticsearch.core.Releasable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ReplicationGroup replicationGroup)voidaddPendingAction(String allocationId, RetryableAction<?> replicationAction)voidclose()voidremoveReplicationAction(String allocationId, RetryableAction<?> action)
-
Constructor Details
-
PendingReplicationActions
-
-
Method Details
-
addPendingAction
-
removeReplicationAction
-
accept
- Specified by:
acceptin interfaceConsumer<ReplicationGroup>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-