[#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 `&lt;bdlcc&lowbar;timequeue&period;h&gt;`

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&hyphen;zero value if the modified item is now the lowest time value in the time queue or zero otherwise&period; Return 0 on success, and a non&hyphen;zero value if there is currently no item having the `handle` registered with this time queue&period;


[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&period;&period;&period;_]#

Same as the preceding overload, with the specified `key`&period;


[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&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
