BloombergLP::bdlmt::TimerEventScheduler::rescheduleEvent

rescheduleEvent overloads

Synopses

Declared in <bdlmt_timereventscheduler.h>

Reschedule the event identified by handle to a new time.

int
rescheduleEvent(
    Handle handle,
    bsls::TimeInterval const& newTime,
    bool wait = false);
» more...

Same as the preceding overload, with the specified key.

int
rescheduleEvent(
    Handle handle,
    EventKey const& key,
    bsls::TimeInterval const& newTime,
    bool wait = false);
» more...

Return Value

0 on successful reschedule, and a non-zero value otherwise

Parameters

NameDescription
handleidentifier of the event to reschedule
newTimenew absolute dispatch time
waitif true, wait until the event is rescheduled or dispatched
keykey uniquely identifying the event