Module org.elasticsearch.xcore
Package org.elasticsearch.license
Class TransportGetBasicStatusAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetBasicStatusRequest,GetBasicStatusResponse>
org.elasticsearch.action.support.local.TransportLocalClusterStateAction<GetBasicStatusRequest,GetBasicStatusResponse>
org.elasticsearch.license.TransportGetBasicStatusAction
public class TransportGetBasicStatusAction
extends TransportLocalClusterStateAction<GetBasicStatusRequest,GetBasicStatusResponse>
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
clusterService, executorFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportGetBasicStatusAction(TransportService transportService, ClusterService clusterService, ActionFilters actionFilters) Prior to 9.3 this was a TransportMasterNodeReadAction so for BwC it must be registered with the TransportService until we no longer need to support calling this action remotely. -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetBasicStatusRequest request, ClusterState state) protected voidlocalClusterStateOperation(Task task, GetBasicStatusRequest request, ClusterState state, ActionListener<GetBasicStatusResponse> listener) Methods inherited from class org.elasticsearch.action.support.local.TransportLocalClusterStateAction
doExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnly
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportGetBasicStatusAction
@Inject public TransportGetBasicStatusAction(TransportService transportService, ClusterService clusterService, ActionFilters actionFilters) Prior to 9.3 this was a TransportMasterNodeReadAction so for BwC it must be registered with the TransportService until we no longer need to support calling this action remotely.
-
-
Method Details
-
localClusterStateOperation
protected void localClusterStateOperation(Task task, GetBasicStatusRequest request, ClusterState state, ActionListener<GetBasicStatusResponse> listener) throws Exception - Specified by:
localClusterStateOperationin classTransportLocalClusterStateAction<GetBasicStatusRequest,GetBasicStatusResponse> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlockin classTransportLocalClusterStateAction<GetBasicStatusRequest,GetBasicStatusResponse>
-