[#BloombergLP-bdlcc-TimeQueue-09c-update-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-09c.adoc[TimeQueue]::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-09c/update-05.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-09c/update-05.adoc[_» more..._]# Same as the preceding overload, with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/TimeQueue-09c/update-02.adoc[update]( xref:BloombergLP/bdlcc/TimeQueue-09c/Handle.adoc[Handle] handle, xref:BloombergLP/bdlcc/TimeQueue-09c/Key.adoc[Key] const& key, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& newTime, int* isNewTop = 0); ---- [.small]#xref:BloombergLP/bdlcc/TimeQueue-09c/update-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#