Quartz::EventSet
EventSet represents the pending event set and encompasses all future
events scheduled to occur.
Constructors
new(time : TimePoint = TimePoint.new(0)) : self
SourceInstance methods
advance(by duration : Duration) : TimePoint
Advance the current time up to the specified planned duration using a multiscale time advancement.
Raises if the current time advances beyond the imminent events.
advance(until t : TimePoint) : TimePoint
Advance the current time until it reaches the given time point.
current_time=(current_time : TimePoint)
Returns the current time associated with the event set.
duration_of(event : Schedulable) : Duration
Returns the planned duration after which the specified event will occur.
imminent_duration
Returns the planned Duration associated with the future imminent events
to occur, or Duration::INFINIY if self is empty.
inspect(io)
Sourceplan_event(event : Schedulable, duration : Duration)
Schedules a future event at a given planned duration.
priority_queue
Source