public class TransportCloseIndexAction extends TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse> implements NodeSettingsService.Listener
| Modifier and Type | Field and Description |
|---|---|
static String |
SETTING_CLUSTER_INDICES_CLOSE_ENABLE |
clusterService, transportServiceactionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPooldeprecationLogger, logger, settings| Constructor and Description |
|---|
TransportCloseIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataIndexStateService indexStateService,
NodeSettingsService nodeSettingsService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
DestructiveOperations destructiveOperations) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkBlock(CloseIndexRequest request,
ClusterState state) |
protected void |
doExecute(Task task,
CloseIndexRequest request,
ActionListener<CloseIndexResponse> listener) |
protected String |
executor() |
protected void |
masterOperation(CloseIndexRequest request,
ClusterState state,
ActionListener<CloseIndexResponse> listener) |
protected CloseIndexResponse |
newResponse() |
void |
onRefreshSettings(Settings settings) |
doExecute, localExecute, masterOperationexecute, execute, execute, executelogDeprecatedSetting, logRemovedSetting, nodeNamepublic static final String SETTING_CLUSTER_INDICES_CLOSE_ENABLE
@Inject public TransportCloseIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexStateService indexStateService, NodeSettingsService nodeSettingsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
protected String executor()
executor in class TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>protected CloseIndexResponse newResponse()
newResponse in class TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>protected void doExecute(Task task, CloseIndexRequest request, ActionListener<CloseIndexResponse> listener)
doExecute in class TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>protected ClusterBlockException checkBlock(CloseIndexRequest request, ClusterState state)
checkBlock in class TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>protected void masterOperation(CloseIndexRequest request, ClusterState state, ActionListener<CloseIndexResponse> listener)
masterOperation in class TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>public void onRefreshSettings(Settings settings)
onRefreshSettings in interface NodeSettingsService.ListenerCopyright © 2009–2017. All rights reserved.