[#BloombergLP-bdlcc-TimeQueue-091-update-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-091.adoc[TimeQueue<function<void()>>]::update :relfileprefix: ../../../ :mrdocs: `update` overloads == Synopses Declared in `<bdlcc_timequeue.h>` Update the time value of the item having the specified `handle` to the specified `newTime` and optionally load into the optionally specified `isNewTop` a non‐zero value if the modified item is now the lowest time value in the time queue or zero otherwise. Return 0 on success, and a non‐zero value if there is currently no item having the `handle` registered with this time queue. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/TimeQueue-091/update-0d.adoc[update]( xref:BloombergLP/bdlcc/TimeQueue-09c/Handle.adoc[Handle] handle, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newTime, int* isNewTop = 0); ---- [.small]#xref:BloombergLP/bdlcc/TimeQueue-091/update-0d.adoc[_» more..._]# Same as the preceding overload, with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/TimeQueue-091/update-0e.adoc[update]( xref:BloombergLP/bdlcc/TimeQueue-09c/Handle.adoc[Handle] handle, xref:BloombergLP/bdlcc/TimeQueue-091/Key.adoc[Key] const& key, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newTime, int* isNewTop = 0); ---- [.small]#xref:BloombergLP/bdlcc/TimeQueue-091/update-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#