public class TransportCreateIndexAction extends TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
clusterService, transportService
actionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPool
deprecationLogger, logger, settings
Constructor and Description |
---|
TransportCreateIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataCreateIndexService createIndexService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkBlock(CreateIndexRequest request,
ClusterState state) |
protected String |
executor() |
protected void |
masterOperation(CreateIndexRequest request,
ClusterState state,
ActionListener<CreateIndexResponse> listener) |
protected CreateIndexResponse |
newResponse() |
doExecute, doExecute, localExecute, masterOperation
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public TransportCreateIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataCreateIndexService createIndexService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected String executor()
executor
in class TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
protected CreateIndexResponse newResponse()
newResponse
in class TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
protected ClusterBlockException checkBlock(CreateIndexRequest request, ClusterState state)
checkBlock
in class TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
protected void masterOperation(CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> listener)
masterOperation
in class TransportMasterNodeAction<CreateIndexRequest,CreateIndexResponse>
Copyright © 2009–2016. All rights reserved.