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, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
Constructors Constructor Description TransportAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, MetadataCreateIndexService createIndexService)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(CreateIndexRequest request, ClusterState state)
protected java.lang.String
executor()
protected void
masterOperation(CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> listener)
protected CreateIndexResponse
read(StreamInput in)
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)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executor
in classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-
read
- Specified by:
read
in classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
- Throws:
java.io.IOException
-
masterOperation
protected void masterOperation(CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> listener) throws java.lang.Exception- Specified by:
masterOperation
in classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
- Throws:
java.lang.Exception
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
-