Interface WatchdogOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Watchdog,Watchdog.Builder
@Generated
public interface WatchdogOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetActions(int index) Register actions that will fire on given WatchDog events.intRegister actions that will fire on given WatchDog events.Register actions that will fire on given WatchDog events.getActionsOrBuilder(int index) Register actions that will fire on given WatchDog events.List<? extends Watchdog.WatchdogActionOrBuilder> Register actions that will fire on given WatchDog events.com.google.protobuf.DurationIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.com.google.protobuf.DurationOrBuilderIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.com.google.protobuf.DurationDefines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.com.google.protobuf.DurationOrBuilderDefines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.com.google.protobuf.DurationThe duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.com.google.protobuf.DurationOrBuilderThe duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.com.google.protobuf.DurationThe duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.com.google.protobuf.DurationOrBuilderThe duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.com.google.protobuf.DurationIf ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.com.google.protobuf.DurationOrBuilderIf ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.booleanIf a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process.booleanDefines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled.booleanThe duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic.booleanThe duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic.booleanSets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``.booleanIf ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getActionsList
List<Watchdog.WatchdogAction> getActionsList()Register actions that will fire on given WatchDog events. See ``WatchDogAction`` for priority of events.
repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7; -
getActions
Register actions that will fire on given WatchDog events. See ``WatchDogAction`` for priority of events.
repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7; -
getActionsCount
int getActionsCount()Register actions that will fire on given WatchDog events. See ``WatchDogAction`` for priority of events.
repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7; -
getActionsOrBuilderList
List<? extends Watchdog.WatchdogActionOrBuilder> getActionsOrBuilderList()Register actions that will fire on given WatchDog events. See ``WatchDogAction`` for priority of events.
repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7; -
getActionsOrBuilder
Register actions that will fire on given WatchDog events. See ``WatchDogAction`` for priority of events.
repeated .envoy.config.bootstrap.v3.Watchdog.WatchdogAction actions = 7; -
hasMissTimeout
boolean hasMissTimeout()The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic. If not specified the default is 200ms.
.google.protobuf.Duration miss_timeout = 1;- Returns:
- Whether the missTimeout field is set.
-
getMissTimeout
com.google.protobuf.Duration getMissTimeout()The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic. If not specified the default is 200ms.
.google.protobuf.Duration miss_timeout = 1;- Returns:
- The missTimeout.
-
getMissTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getMissTimeoutOrBuilder()The duration after which Envoy counts a nonresponsive thread in the ``watchdog_miss`` statistic. If not specified the default is 200ms.
.google.protobuf.Duration miss_timeout = 1; -
hasMegamissTimeout
boolean hasMegamissTimeout()The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic. If not specified the default is 1000ms.
.google.protobuf.Duration megamiss_timeout = 2;- Returns:
- Whether the megamissTimeout field is set.
-
getMegamissTimeout
com.google.protobuf.Duration getMegamissTimeout()The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic. If not specified the default is 1000ms.
.google.protobuf.Duration megamiss_timeout = 2;- Returns:
- The megamissTimeout.
-
getMegamissTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getMegamissTimeoutOrBuilder()The duration after which Envoy counts a nonresponsive thread in the ``watchdog_mega_miss`` statistic. If not specified the default is 1000ms.
.google.protobuf.Duration megamiss_timeout = 2; -
hasKillTimeout
boolean hasKillTimeout()If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process. Set to 0 to disable kill behavior. If not specified the default is 0 (disabled).
.google.protobuf.Duration kill_timeout = 3;- Returns:
- Whether the killTimeout field is set.
-
getKillTimeout
com.google.protobuf.Duration getKillTimeout()If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process. Set to 0 to disable kill behavior. If not specified the default is 0 (disabled).
.google.protobuf.Duration kill_timeout = 3;- Returns:
- The killTimeout.
-
getKillTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getKillTimeoutOrBuilder()If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process. Set to 0 to disable kill behavior. If not specified the default is 0 (disabled).
.google.protobuf.Duration kill_timeout = 3; -
hasMaxKillTimeoutJitter
boolean hasMaxKillTimeoutJitter()Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled. Enabling this feature would help to reduce risk of synchronized watchdog kill events across proxies due to external triggers. Set to 0 to disable. If not specified the default is 0 (disabled).
.google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }- Returns:
- Whether the maxKillTimeoutJitter field is set.
-
getMaxKillTimeoutJitter
com.google.protobuf.Duration getMaxKillTimeoutJitter()Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled. Enabling this feature would help to reduce risk of synchronized watchdog kill events across proxies due to external triggers. Set to 0 to disable. If not specified the default is 0 (disabled).
.google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... }- Returns:
- The maxKillTimeoutJitter.
-
getMaxKillTimeoutJitterOrBuilder
com.google.protobuf.DurationOrBuilder getMaxKillTimeoutJitterOrBuilder()Defines the maximum jitter used to adjust the ``kill_timeout`` if ``kill_timeout`` is enabled. Enabling this feature would help to reduce risk of synchronized watchdog kill events across proxies due to external triggers. Set to 0 to disable. If not specified the default is 0 (disabled).
.google.protobuf.Duration max_kill_timeout_jitter = 6 [(.validate.rules) = { ... } -
hasMultikillTimeout
boolean hasMultikillTimeout()If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process. Set to 0 to disable this behavior. If not specified the default is 0 (disabled).
.google.protobuf.Duration multikill_timeout = 4;- Returns:
- Whether the multikillTimeout field is set.
-
getMultikillTimeout
com.google.protobuf.Duration getMultikillTimeout()If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process. Set to 0 to disable this behavior. If not specified the default is 0 (disabled).
.google.protobuf.Duration multikill_timeout = 4;- Returns:
- The multikillTimeout.
-
getMultikillTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getMultikillTimeoutOrBuilder()If ``max(2, ceil(registered_threads * Fraction(*multikill_threshold*)))`` threads have been nonresponsive for at least this duration kill the entire Envoy process. Set to 0 to disable this behavior. If not specified the default is 0 (disabled).
.google.protobuf.Duration multikill_timeout = 4; -
hasMultikillThreshold
boolean hasMultikillThreshold()Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``. If not specified the default is 0.
.envoy.type.v3.Percent multikill_threshold = 5;- Returns:
- Whether the multikillThreshold field is set.
-
getMultikillThreshold
Percent getMultikillThreshold()Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``. If not specified the default is 0.
.envoy.type.v3.Percent multikill_threshold = 5;- Returns:
- The multikillThreshold.
-
getMultikillThresholdOrBuilder
PercentOrBuilder getMultikillThresholdOrBuilder()Sets the threshold for ``multikill_timeout`` in terms of the percentage of nonresponsive threads required for the ``multikill_timeout``. If not specified the default is 0.
.envoy.type.v3.Percent multikill_threshold = 5;
-