public class TransportCloseIndexAction extends TransportMasterNodeAction<CloseIndexRequest,CloseIndexResponse>
Modifier and Type | Field and Description |
---|---|
static Setting<java.lang.Boolean> |
CLUSTER_INDICES_CLOSE_ENABLE_SETTING |
clusterService, transportService
actionName, indexNameExpressionResolver, taskManager, threadPool
deprecationLogger, 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, masterOperation
execute, execute, execute, execute
logDeprecatedSetting, logRemovedSetting, nodeName
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>