java.lang.Object
org.elasticsearch.common.FrequencyCappedAction
Execute an action at most once per time interval
-
Constructor Summary
ConstructorsConstructorDescriptionFrequencyCappedAction(LongSupplier currentTimeMillisSupplier, TimeValue initialDelay) -
Method Summary
Modifier and TypeMethodDescriptionvoidmaybeExecute(Runnable runnable) voidsetMinInterval(TimeValue minInterval)
-
Constructor Details
-
FrequencyCappedAction
-
-
Method Details
-
setMinInterval
-
maybeExecute
-