public class TransportCloseIndexAction extends TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>
Modifier and Type | Field | Description |
---|---|---|
static Setting<java.lang.Boolean> |
CLUSTER_INDICES_CLOSE_ENABLE_SETTING |
deprecationLogger, logger, settings
actionName, indexNameExpressionResolver, taskManager, threadPool
clusterService, transportService
Constructor | Description |
---|---|
TransportCloseIndexAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
MetaDataIndexStateService indexStateService,
ClusterSettings clusterSettings,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver,
DestructiveOperations destructiveOperations) |
Modifier and Type | Method | 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() |
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, execute, execute
doExecute, getMasterActionName, localExecute, masterOperation
public 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>