Module org.elasticsearch.xcore
Package org.elasticsearch.license
Class TransportPostStartBasicAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<PostStartBasicRequest,PostStartBasicResponse>
org.elasticsearch.action.support.HandledTransportAction<PostStartBasicRequest,PostStartBasicResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PostStartBasicRequest,PostStartBasicResponse>
org.elasticsearch.license.TransportPostStartBasicAction
- All Implemented Interfaces:
ActionWithReservedState<PostStartBasicRequest>
public class TransportPostStartBasicAction
extends TransportMasterNodeAction<PostStartBasicRequest,PostStartBasicResponse>
-
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
ConstructorsConstructorDescriptionTransportPostStartBasicAction(TransportService transportService, ClusterService clusterService, MutableLicenseService licenseService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PostStartBasicRequest request, ClusterState state) protected voidmasterOperation(Task task, PostStartBasicRequest request, ClusterState state, ActionListener<PostStartBasicResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods 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
-
TransportPostStartBasicAction
@Inject public TransportPostStartBasicAction(TransportService transportService, ClusterService clusterService, MutableLicenseService licenseService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, PostStartBasicRequest request, ClusterState state, ActionListener<PostStartBasicResponse> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<PostStartBasicRequest,PostStartBasicResponse> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PostStartBasicRequest,PostStartBasicResponse>
-