public class TransportCloseIndexAction extends TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>
| Modifier and Type | Field and Description |
|---|---|
static Setting<java.lang.Boolean> |
CLUSTER_INDICES_CLOSE_ENABLE_SETTING |
clusterService, transportServiceactionName, indexNameExpressionResolver, taskManager, threadPooldeprecationLogger, logger, settings| Constructor and Description |
|---|
TransportCloseIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataIndexStateService indexStateService,
ClusterSettings clusterSettings,
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 java.lang.String |
executor() |
protected void |
masterOperation(CloseIndexRequest request,
ClusterState state,
ActionListener<CloseIndexResponse> listener) |
protected CloseIndexResponse |
newResponse() |
doExecute, localExecute, masterOperationexecute, execute, execute, executelogDeprecatedSetting, logRemovedSetting, nodeNamepublic static final Setting<java.lang.Boolean> CLUSTER_INDICES_CLOSE_ENABLE_SETTING
@Inject public TransportCloseIndexAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, MetaDataIndexStateService indexStateService, ClusterSettings clusterSettings, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver, DestructiveOperations destructiveOperations)
protected java.lang.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>