public class TransportCloseIndexAction extends TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse> implements NodeSettingsService.Listener
Modifier and Type | Field and Description |
---|---|
static String |
SETTING_CLUSTER_INDICES_CLOSE_ENABLE |
clusterService, transportService
actionName, indexNameExpressionResolver, parseFieldMatcher, taskManager, threadPool
deprecationLogger, 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, masterOperation
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
public 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.Listener
Copyright © 2009–2016. All rights reserved.