Module org.elasticsearch.server
Interface RemoteClusterClient
public interface RemoteClusterClient
A client which can execute requests on a specific remote cluster.
-
Method Summary
Modifier and TypeMethodDescription<Request extends ActionRequest,Response extends TransportResponse>
voidexecute(RemoteClusterActionType<Response> action, Request request, ActionListener<Response> listener) Executes an action, denoted by anActionType, on the remote cluster.
-
Method Details
-
execute
<Request extends ActionRequest,Response extends TransportResponse> void execute(RemoteClusterActionType<Response> action, Request request, ActionListener<Response> listener) Executes an action, denoted by anActionType, on the remote cluster.- Type Parameters:
Request- The request type.Response- the response type.- Parameters:
action- The action type to execute.request- The action request.listener- A listener for the response
-