Module org.elasticsearch.server
Class Condition<T>
java.lang.Object
org.elasticsearch.action.admin.indices.rollover.Condition<T>
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentFragment
- Direct Known Subclasses:
ElasticsearchNodeCommand.UnknownCondition,MaxAgeCondition,MaxDocsCondition,MaxPrimaryShardDocsCondition,MaxPrimaryShardSizeCondition,MaxSizeCondition,MinAgeCondition,MinDocsCondition,MinPrimaryShardDocsCondition,MinPrimaryShardSizeCondition,MinSizeCondition,OptimalShardCountCondition
Base class for rollover request conditions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordHolder for evaluated condition resultstatic final recordHolder for index stats used to evaluate conditionsstatic enumNested 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
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Condition.Typeprotected TFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract Condition.Resultevaluate(Condition.Stats stats) inthashCode()name()final StringtoString()type()value()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.io.stream.NamedWriteable
getWriteableNameMethods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment