java.lang.Object
org.elasticsearch.action.support.TransportAction<PutLicenseRequest,PutLicenseResponse>
org.elasticsearch.action.support.HandledTransportAction<PutLicenseRequest,PutLicenseResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<PutLicenseRequest,PutLicenseResponse>
org.elasticsearch.license.TransportPutLicenseAction
- All Implemented Interfaces:
ActionWithReservedState<PutLicenseRequest>
public class TransportPutLicenseAction
extends TransportMasterNodeAction<PutLicenseRequest,PutLicenseResponse>
-
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
ConstructorsConstructorDescriptionTransportPutLicenseAction(TransportService transportService, ClusterService clusterService, MutableLicenseService licenseService, ThreadPool threadPool, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(PutLicenseRequest request, ClusterState state) protected voidmasterOperation(Task task, PutLicenseRequest request, ClusterState state, ActionListener<PutLicenseResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute, validateForReservedStateMethods 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
-
TransportPutLicenseAction
@Inject public TransportPutLicenseAction(TransportService transportService, ClusterService clusterService, MutableLicenseService licenseService, ThreadPool threadPool, ActionFilters actionFilters)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<PutLicenseRequest,PutLicenseResponse>
-
masterOperation
protected void masterOperation(Task task, PutLicenseRequest request, ClusterState state, ActionListener<PutLicenseResponse> listener) throws ElasticsearchException - Specified by:
masterOperationin classTransportMasterNodeAction<PutLicenseRequest,PutLicenseResponse> - Throws:
ElasticsearchException
-