Module org.elasticsearch.server
Class TransportGetDesiredNodesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
org.elasticsearch.action.support.HandledTransportAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
org.elasticsearch.action.admin.cluster.desirednodes.TransportGetDesiredNodesAction
- All Implemented Interfaces:
ActionWithReservedState<GetDesiredNodesAction.Request>
public class TransportGetDesiredNodesAction
extends TransportMasterNodeReadAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetDesiredNodesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetDesiredNodesAction.Request request, ClusterState state) protected voidmasterOperation(Task task, GetDesiredNodesAction.Request request, ClusterState state, ActionListener<GetDesiredNodesAction.Response> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportGetDesiredNodesAction
@Inject public TransportGetDesiredNodesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, GetDesiredNodesAction.Request request, ClusterState state, ActionListener<GetDesiredNodesAction.Response> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response> - Throws:
Exception
-
checkBlock
protected ClusterBlockException checkBlock(GetDesiredNodesAction.Request request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
-