public class TransportCloseIndexAction extends TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>
clusterService, transportServiceactionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportCloseIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataIndexStateService indexStateService,
NodeSettingsService nodeSettingsService,
ActionFilters actionFilters) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkBlock(CloseIndexRequest request,
ClusterState state) |
protected void |
doExecute(CloseIndexRequest request,
ActionListener<CloseIndexResponse> listener) |
protected String |
executor() |
protected void |
masterOperation(CloseIndexRequest request,
ClusterState state,
ActionListener<CloseIndexResponse> listener) |
protected CloseIndexRequest |
newRequest() |
protected CloseIndexResponse |
newResponse() |
forceThreadedListener, localExecute, processBeforeDelegationToMasterexecute, executenodeName@Inject public TransportCloseIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexStateService indexStateService, NodeSettingsService nodeSettingsService, ActionFilters actionFilters)
protected String executor()
executor in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>protected CloseIndexRequest newRequest()
newRequest in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>protected CloseIndexResponse newResponse()
newResponse in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>protected void doExecute(CloseIndexRequest request, ActionListener<CloseIndexResponse> listener)
doExecute in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>protected ClusterBlockException checkBlock(CloseIndexRequest request, ClusterState state)
checkBlock in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>protected void masterOperation(CloseIndexRequest request, ClusterState state, ActionListener<CloseIndexResponse> listener) throws ElasticsearchException
masterOperation in class TransportMasterNodeOperationAction<CloseIndexRequest,CloseIndexResponse>ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.