public class RestCancelTasksAction extends BaseRestHandler
BaseRestHandler.RestChannelConsumer
MULTI_ALLOW_EXPLICIT_INDEX
deprecationLogger, logger, settings
Constructor and Description |
---|
RestCancelTasksAction(Settings settings,
RestController controller,
java.util.function.Supplier<DiscoveryNodes> nodesInCluster) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTripCircuitBreaker() |
BaseRestHandler.RestChannelConsumer |
prepareRequest(RestRequest request,
NodeClient client)
Prepare the request for execution.
|
handleRequest, responseParams, unrecognized
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsContentStream, supportsPlainText
public RestCancelTasksAction(Settings settings, RestController controller, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)
public BaseRestHandler.RestChannelConsumer prepareRequest(RestRequest request, NodeClient client) throws java.io.IOException
BaseRestHandler
BaseRestHandler.responseParams()
to indicate such
params.prepareRequest
in class BaseRestHandler
request
- the request to executeclient
- client for executing actions on the local nodejava.io.IOException
- if an I/O exception occurred parsing the request and preparing for
executionpublic boolean canTripCircuitBreaker()