Enum Class TunableConfig.Polling
- All Implemented Interfaces:
Serializable, Comparable<TunableConfig.Polling>, Constable
- Enclosing class:
TunableConfig
Defines when the backend should poll the tunable's local value.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPoll the tunable's local value on every loop.Use the framework default polling behavior.Poll the tunable's local value only when it is marked changed. -
Method Summary
Modifier and TypeMethodDescriptionstatic TunableConfig.PollingReturns the enum constant of this class with the specified name.static TunableConfig.Polling[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Use the framework default polling behavior. -
ALWAYS_GET
Poll the tunable's local value on every loop. -
GET_ON_CHANGE
Poll the tunable's local value only when it is marked changed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-