Module org.elasticsearch.xcore
Class PeriodThrottler
java.lang.Object
org.elasticsearch.xpack.core.watcher.actions.throttler.PeriodThrottler
- All Implemented Interfaces:
Throttler
This throttler throttles the action based on its last successful execution time. If the time passed since
the last successful execution is lower than the given period, the action will be throttled.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.core.watcher.actions.throttler.Throttler
Throttler.Result, Throttler.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.core.TimeValueperiod()throttle(String actionId, WatchExecutionContext ctx)