[#BloombergLP-bdlmt-TimerEventScheduler-rescheduleEvent-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/TimerEventScheduler.adoc[TimerEventScheduler]::rescheduleEvent :relfileprefix: ../../../ :mrdocs: `rescheduleEvent` overloads == Synopses Declared in `<bdlmt_timereventscheduler.h>` Reschedule the event having the specified `handle` at the specified `newTime`. Optionally use the specified `key` to uniquely identify the event. If the optionally specified `wait` is true, then ensure that the event having the `handle` (if it is valid) is either successfully rescheduled or dispatched before the call returns. Return 0 on successful reschedule, and a non‐zero value if the `handle` is invalid _or_ if the event has already been dispatched _or_ if the event has not yet been dispatched but will soon be dispatched. If this method is being invoked from the dispatcher thread then the `wait` is ignored to avoid deadlock. The `newTime` is an absolute time represented as an interval from some epoch, which is detemined by the clock indicated at construction (see []Clock‐Types)). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/TimerEventScheduler/rescheduleEvent-03.adoc[rescheduleEvent]( xref:BloombergLP/bdlmt/TimerEventScheduler/Handle.adoc[Handle] handle, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newTime, bool wait = false); ---- [.small]#xref:BloombergLP/bdlmt/TimerEventScheduler/rescheduleEvent-03.adoc[_» more..._]# Same as the preceding overload, with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlmt/TimerEventScheduler/rescheduleEvent-0c.adoc[rescheduleEvent]( xref:BloombergLP/bdlmt/TimerEventScheduler/Handle.adoc[Handle] handle, xref:BloombergLP/bdlmt/TimerEventScheduler/EventKey.adoc[EventKey] const& key, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newTime, bool wait = false); ---- [.small]#xref:BloombergLP/bdlmt/TimerEventScheduler/rescheduleEvent-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#