Package org.elasticsearch.action.support
Class TransportAction<Request extends ActionRequest,Response extends ActionResponse>
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
- Direct Known Subclasses:
HandledTransportAction
,TransportReplicationAction
,TransportSingleShardAction
public abstract class TransportAction<Request extends ActionRequest,Response extends ActionResponse>
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.logging.log4j.Logger
Deprecated.declare your own logger.protected TaskManager
-
Constructor Summary
ModifierConstructorDescriptionprotected
TransportAction(String actionName, ActionFilters actionFilters, TaskManager taskManager)
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
doExecute(Task task, Request request, ActionListener<Response> listener)
void
execute(Task task, Request request, ActionListener<Response> listener)
Use this method when the transport action should continue to run in the context of the current task
-
Field Details
-
actionName
-
taskManager
-
logger
Deprecated.declare your own logger.
-
-
Constructor Details
-
TransportAction
-
-
Method Details
-
execute
Use this method when the transport action should continue to run in the context of the current task -
doExecute
-