Module org.elasticsearch.server
Class IndexReshardingState.Noop
java.lang.Object
org.elasticsearch.cluster.metadata.IndexReshardingState
org.elasticsearch.cluster.metadata.IndexReshardingState.Noop
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
- Enclosing class:
IndexReshardingState
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.cluster.metadata.IndexReshardingState
IndexReshardingState.Noop, IndexReshardingState.SplitNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()intinttoXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Throws:
IOException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
shardCountBefore
public int shardCountBefore()- Specified by:
shardCountBeforein classIndexReshardingState- Returns:
- the number of shards the index has at the start of this operation
-
shardCountAfter
public int shardCountAfter()- Specified by:
shardCountAfterin classIndexReshardingState- Returns:
- the number of shards that the index will have when resharding completes
-