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, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, MetadataCreateIndexService createIndexService, MetadataCreateDataStreamService metadataCreateDataStreamService, AutoCreateIndex autoCreateIndex, SystemIndices systemIndices)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(CreateIndexRequest request, ClusterState state)
protected void
masterOperation(CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> finalListener)
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, 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)
-
-
Method Details
-
masterOperation
protected void masterOperation(CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> finalListener)- Specified by:
masterOperation
in classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-