Enum Class PunctuationType
- All Implemented Interfaces:
Serializable,Comparable<PunctuationType>,Constable
Controls what notion of time is used for punctuation scheduled via
schedule: - STREAM_TIME - uses "stream time", which is advanced by the processing of messages in accordance with the timestamp as extracted by the
TimestampExtractorin use. NOTE: Only advanced if messages arrive - WALL_CLOCK_TIME - uses system time (the wall-clock time), which is advanced at the polling interval (
StreamsConfig.POLL_MS_CONFIG) independent of whether new messages arrive. NOTE: This is best effort only as its granularity is limited by how long an iteration of the processing loop takes to complete
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Enum Constant Summary
Enum ConstantsMethod Summary
Modifier and TypeMethodDescriptionstatic PunctuationTypeReturns the enum constant of this class with the specified name.static PunctuationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
STREAM_TIME
WALL_CLOCK_TIME
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