public class RestClearIndicesCacheAction extends BaseRestHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
RestClearIndicesCacheAction.Fields |
BaseRestHandler.RestChannelConsumerMULTI_ALLOW_EXPLICIT_INDEXdeprecationLogger, 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) |
BaseRestHandler.RestChannelConsumer |
prepareRequest(RestRequest request,
NodeClient client)
Prepare the request for execution.
|
handleRequest, responseParams, unrecognizedlogDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsContentStream, supportsPlainTextpublic RestClearIndicesCacheAction(Settings settings, RestController controller)
public BaseRestHandler.RestChannelConsumer prepareRequest(RestRequest request, NodeClient client) throws java.io.IOException
BaseRestHandlerBaseRestHandler.responseParams() to indicate such
params.prepareRequest in class BaseRestHandlerrequest - 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)