Module org.elasticsearch.xcore
Class RoutingInfoUpdate
java.lang.Object
org.elasticsearch.xpack.core.ml.inference.assignment.RoutingInfoUpdate
- All Implemented Interfaces:
Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(RoutingInfo routingInfo) booleaninthashCode()toString()static RoutingInfoUpdateupdateNumberOfAllocations(int numberOfAllocations) static RoutingInfoUpdateupdateStateAndReason(RoutingStateAndReason routingStateAndReason) voidwriteTo(StreamOutput out)
-
Constructor Details
-
RoutingInfoUpdate
- Throws:
IOException
-
-
Method Details
-
updateNumberOfAllocations
-
updateStateAndReason
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
getNumberOfAllocations
-
getStateAndReason
-
apply
-