public class TransportCreateIndexAction extends TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>
clusterService, transportServiceactionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportCreateIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataCreateIndexService createIndexService,
ActionFilters actionFilters) |
| 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 CreateIndexRequest |
newRequest() |
protected CreateIndexResponse |
newResponse() |
doExecute, forceThreadedListener, localExecute, processBeforeDelegationToMasterexecute, executenodeName@Inject public TransportCreateIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataCreateIndexService createIndexService, ActionFilters actionFilters)
protected String executor()
executor in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>protected CreateIndexRequest newRequest()
newRequest in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>protected CreateIndexResponse newResponse()
newResponse in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>protected ClusterBlockException checkBlock(CreateIndexRequest request, ClusterState state)
checkBlock in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>protected void masterOperation(CreateIndexRequest request, ClusterState state, ActionListener<CreateIndexResponse> listener) throws ElasticsearchException
masterOperation in class TransportMasterNodeOperationAction<CreateIndexRequest,CreateIndexResponse>ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.