PunctuationSchedule¶
PunctuationSchedule is a Stamped of ProcessorNodes.
As a Stamped, PunctuationSchedule is also a Comparable (Java) and used in PunctuationQueues (which are PriorityQueues under the covers).
Creating Instance¶
PunctuationSchedule takes the following to be created:
- ProcessorNode
- Timestamp
- Interval
- Punctuator
-
RepointableCancellable
PunctuationSchedule is created when:
PunctuationScheduleis requested for the next PunctuationScheduleStreamTaskis requested to schedule a punctuator
isCancelled¶
PunctuationSchedule defines isCancelled internal flag when created.
isCancelled is off (false) by default and can be turned on (true) in markCancelled.
markCancelled¶
void markCancelled()
markCancelled turns the isCancelled flag on.