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.Result
NO
-
Method Summary
Modifier and Type Method Description java.lang.String
reason()
boolean
throttle()
static Throttler.Result
throttle(Throttler.Type type, java.lang.String reason, java.lang.Object... args)
Throttler.Type
type()
-
-
-
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()
-
-