public class MaxAgeCondition extends Condition<TimeValue>
true
when the index is at least Condition.value
oldCondition.Result, Condition.Stats
Writeable.Reader<V>, Writeable.Writer<V>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
MaxAgeCondition(StreamInput in) |
MaxAgeCondition(TimeValue value) |
Modifier and Type | Method and Description |
---|---|
Condition.Result |
evaluate(Condition.Stats stats) |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
public static final java.lang.String NAME
public MaxAgeCondition(TimeValue value)
public MaxAgeCondition(StreamInput in) throws java.io.IOException
java.io.IOException
public Condition.Result evaluate(Condition.Stats stats)
public java.lang.String getWriteableName()
NamedWriteable
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
java.io.IOException