Class RestResizeHandler.RestShrinkIndexAction
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.rest.BaseRestHandler
-
- org.elasticsearch.rest.action.admin.indices.RestResizeHandler
-
- org.elasticsearch.rest.action.admin.indices.RestResizeHandler.RestShrinkIndexAction
-
- All Implemented Interfaces:
RestHandler
- Enclosing class:
- RestResizeHandler
public static class RestResizeHandler.RestShrinkIndexAction extends RestResizeHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.rest.action.admin.indices.RestResizeHandler
RestResizeHandler.RestShrinkIndexAction, RestResizeHandler.RestSplitIndexAction
-
Nested classes/interfaces inherited from class org.elasticsearch.rest.BaseRestHandler
BaseRestHandler.RestChannelConsumer
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.rest.BaseRestHandler
MULTI_ALLOW_EXPLICIT_INDEX
-
-
Constructor Summary
Constructors Constructor Description RestShrinkIndexAction(Settings settings, RestController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
protected ResizeType
getResizeType()
-
Methods inherited from class org.elasticsearch.rest.action.admin.indices.RestResizeHandler
prepareRequest
-
Methods inherited from class org.elasticsearch.rest.BaseRestHandler
getUsageCount, handleRequest, responseParams, unrecognized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.rest.RestHandler
canTripCircuitBreaker, supportsContentStream
-
-
-
-
Constructor Detail
-
RestShrinkIndexAction
public RestShrinkIndexAction(Settings settings, RestController controller)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in classRestResizeHandler
- Returns:
- the name of this handler. The name should be human readable and
should describe the action that will performed when this API is
called. This name is used in the response to the
RestNodesUsageAction
.
-
getResizeType
protected ResizeType getResizeType()
-
-