Class AutoCreateAction.TransportAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
org.elasticsearch.action.admin.indices.create.AutoCreateAction.TransportAction
- Enclosing class:
- AutoCreateAction
public static final class AutoCreateAction.TransportAction
extends TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, MetadataCreateIndexService createIndexService, MetadataCreateDataStreamService metadataCreateDataStreamService, AutoCreateIndex autoCreateIndex, SystemIndices systemIndices, AllocationService allocationService) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(CreateIndexRequest request, ClusterState state) protected voidmasterOperation(Task task, CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportAction
@Inject public TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, MetadataCreateIndexService createIndexService, MetadataCreateDataStreamService metadataCreateDataStreamService, AutoCreateIndex autoCreateIndex, SystemIndices systemIndices, AllocationService allocationService)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-