Enum Class OutputLimitUnit
- All Implemented Interfaces:
Serializable
,Comparable<OutputLimitUnit>
,Constable
Unit for output rate limiting.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe unit representing just after a time period or after a number of events.The unit representing that output occurs when the context partition terminates.The unit representing a crontab-at-expression.The number of events unit.The time period unit.The unit representing a when-expression. -
Method Summary
Modifier and TypeMethodDescriptiongetText()
Returns the text for the unit.static OutputLimitUnit
Returns the enum constant of this class with the specified name.static OutputLimitUnit[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TIME_PERIOD
The time period unit. -
EVENTS
The number of events unit. -
WHEN_EXPRESSION
The unit representing a when-expression. -
CRONTAB_EXPRESSION
The unit representing a crontab-at-expression. -
AFTER
The unit representing just after a time period or after a number of events. -
CONTEXT_PARTITION_TERM
The unit representing that output occurs when the context partition terminates.
-
-
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
-
getText
Returns the text for the unit.- Returns:
- unit text
-