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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(ReplicationGroup replicationGroup)
void
addPendingAction(String allocationId, RetryableAction<?> replicationAction)
void
close()
void
removeReplicationAction(String allocationId, RetryableAction<?> action)
-
Constructor Details
-
PendingReplicationActions
-
-
Method Details
-
addPendingAction
-
removeReplicationAction
-
accept
- Specified by:
accept
in interfaceConsumer<ReplicationGroup>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-