Module org.elasticsearch.server
Class TransportRemoteClusterStateAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<RemoteClusterStateRequest,ClusterStateResponse>
org.elasticsearch.action.support.HandledTransportAction<RemoteClusterStateRequest,ClusterStateResponse>
org.elasticsearch.action.admin.cluster.state.TransportRemoteClusterStateAction
public class TransportRemoteClusterStateAction
extends HandledTransportAction<RemoteClusterStateRequest,ClusterStateResponse>
A remote-only version of
TransportClusterStateAction that should be used for cross-cluster requests.
It simply exists to handle incoming remote requests and forward them to the local transport action.-
Field Summary
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportRemoteClusterStateAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, Client client) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(Task task, RemoteClusterStateRequest request, ActionListener<ClusterStateResponse> listener) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Constructor Details
-
TransportRemoteClusterStateAction
@Inject public TransportRemoteClusterStateAction(TransportService transportService, ThreadPool threadPool, ActionFilters actionFilters, Client client)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, RemoteClusterStateRequest request, ActionListener<ClusterStateResponse> listener) - Specified by:
doExecutein classTransportAction<RemoteClusterStateRequest,ClusterStateResponse>
-