Class OptimalShardCountCondition

java.lang.Object
org.elasticsearch.action.admin.indices.rollover.Condition<Integer>
org.elasticsearch.action.admin.indices.rollover.OptimalShardCountCondition
All Implemented Interfaces:
NamedWriteable, Writeable, ToXContent, ToXContentFragment

public class OptimalShardCountCondition extends Condition<Integer>
Condition for automatically increasing the number of shards for a data stream. This indicates the optimum number of shards that was configured for the index abstraction as part of rollover. It's more of a marker condition, when present the condition is met, more than a condition we evaluate against stats.