Module org.elasticsearch.server
Interface ReplicationSplitHelper.PrimaryRequestExecutor<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse>
- Enclosing class:
ReplicationSplitHelper<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>, Response extends ReplicationResponse>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ReplicationSplitHelper.PrimaryRequestExecutor<Request extends ReplicationRequest<Request>,ReplicaRequest extends ReplicationRequest<ReplicaRequest>,Response extends ReplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(TransportReplicationAction<Request, ReplicaRequest, Response>.org.elasticsearch.action.support.replication.TransportReplicationAction.PrimaryShardReference primaryShardReference, Request request, ActionListener<Response> listener)
-
Method Details
-
execute
void execute(TransportReplicationAction<Request, ReplicaRequest, throws ExceptionResponse>.org.elasticsearch.action.support.replication.TransportReplicationAction.PrimaryShardReference primaryShardReference, Request request, ActionListener<Response> listener) - Throws:
Exception
-