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