public class RestClearIndicesCacheAction extends BaseRestHandler
Modifier and Type | Class and Description |
---|---|
static class |
RestClearIndicesCacheAction.Fields |
BaseRestHandler.RestChannelConsumer
MULTI_ALLOW_EXPLICIT_INDEX, parseFieldMatcher
deprecationLogger, logger, settings
Constructor and Description |
---|
RestClearIndicesCacheAction(Settings settings,
RestController controller) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTripCircuitBreaker() |
static ClearIndicesCacheRequest |
fromRequest(RestRequest request,
ClearIndicesCacheRequest clearIndicesCacheRequest,
ParseFieldMatcher parseFieldMatcher) |
BaseRestHandler.RestChannelConsumer |
prepareRequest(RestRequest request,
NodeClient client)
Prepare the request for execution.
|
handleRequest, responseParams
logDeprecatedSetting, logRemovedSetting, nodeName
@Inject public RestClearIndicesCacheAction(Settings settings, RestController controller)
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()
public static ClearIndicesCacheRequest fromRequest(RestRequest request, ClearIndicesCacheRequest clearIndicesCacheRequest, ParseFieldMatcher parseFieldMatcher)