Class TransportGetDesiredNodesAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
org.elasticsearch.action.admin.cluster.desirednodes.TransportGetDesiredNodesAction
public class TransportGetDesiredNodesAction
extends TransportMasterNodeReadAction<GetDesiredNodesAction.Request,GetDesiredNodesAction.Response>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetDesiredNodesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
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
-
Constructor Details
-
TransportGetDesiredNodesAction
@Inject public TransportGetDesiredNodesAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
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>
-