org.elasticsearch.client.transport.action
Interface ClientTransportAction<Request extends ActionRequest,Response extends ActionResponse>

All Known Implementing Classes:
BaseClientTransportAction, ClientTransportAnalyzeAction, ClientTransportBroadcastPingAction, ClientTransportBulkAction, ClientTransportClearIndicesCacheAction, ClientTransportCloseIndexAction, ClientTransportClusterHealthAction, ClientTransportClusterStateAction, ClientTransportCountAction, ClientTransportCreateIndexAction, ClientTransportDeleteAction, ClientTransportDeleteByQueryAction, ClientTransportDeleteIndexAction, ClientTransportDeleteIndexTemplateAction, ClientTransportDeleteMappingAction, ClientTransportFlushAction, ClientTransportGatewaySnapshotAction, ClientTransportGetAction, ClientTransportIndexAction, ClientTransportIndicesAliasesAction, ClientTransportIndicesStatusAction, ClientTransportMoreLikeThisAction, ClientTransportNodesInfoAction, ClientTransportNodesRestartAction, ClientTransportNodesShutdownAction, ClientTransportNodesStatsAction, ClientTransportOpenIndexAction, ClientTransportOptimizeAction, ClientTransportPercolateAction, ClientTransportPutIndexTemplateAction, ClientTransportPutMappingAction, ClientTransportRefreshAction, ClientTransportReplicationPingAction, ClientTransportSearchAction, ClientTransportSearchScrollAction, ClientTransportSinglePingAction, ClientTransportUpdateSettingsAction

public interface ClientTransportAction<Request extends ActionRequest,Response extends ActionResponse>


Method Summary
 ActionFuture<Response> execute(DiscoveryNode node, Request request)
           
 void execute(DiscoveryNode node, Request request, ActionListener<Response> listener)
           
 

Method Detail

execute

ActionFuture<Response> execute(DiscoveryNode node,
                               Request request)
                                                      throws ElasticSearchException
Throws:
ElasticSearchException

execute

void execute(DiscoveryNode node,
             Request request,
             ActionListener<Response> listener)