Class Throttler.Result
- java.lang.Object
-
- org.elasticsearch.xpack.core.watcher.actions.throttler.Throttler.Result
-
- Enclosing interface:
- Throttler
public static class Throttler.Result extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Throttler.ResultNO
-
Method Summary
Modifier and Type Method Description java.lang.Stringreason()booleanthrottle()static Throttler.Resultthrottle(Throttler.Type type, java.lang.String reason, java.lang.Object... args)Throttler.Typetype()
-
-
-
Field Detail
-
NO
public static final Throttler.Result NO
-
-
Method Detail
-
throttle
public static Throttler.Result throttle(Throttler.Type type, java.lang.String reason, java.lang.Object... args)
-
throttle
public boolean throttle()
-
reason
public java.lang.String reason()
-
type
public Throttler.Type type()
-
-