java.lang.Object
org.elasticsearch.action.support.TransportAction<ReadinessRequest,ActionResponse.Empty>
org.elasticsearch.action.support.HandledTransportAction<ReadinessRequest,ActionResponse.Empty>
org.elasticsearch.readiness.TransportReadinessAction
public class TransportReadinessAction
extends HandledTransportAction<ReadinessRequest,ActionResponse.Empty>
Exposes
readiness info over the transport protocol to facilitate calling it form other nodes.-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportReadinessAction(ActionFilters actionFilters, TransportService transportService, ReadinessService readinessService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(Task task, ReadinessRequest request, ActionListener<ActionResponse.Empty> listener) Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportReadinessAction
@Inject public TransportReadinessAction(ActionFilters actionFilters, TransportService transportService, ReadinessService readinessService)
-
-
Method Details
-
doExecute
protected void doExecute(Task task, ReadinessRequest request, ActionListener<ActionResponse.Empty> listener) - Specified by:
doExecutein classTransportAction<ReadinessRequest,ActionResponse.Empty>
-