Update the time of the item having the specified handle to newTime.
Declared in <bdlcc_timequeue.h>
int
update(
Handle handle,
bsls::TimeInterval const& newTime,
int* isNewTop = 0);
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.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| handle | handle of the item to update |
| newTime | new time value for the item |
| isNewTop | if non-null, set if the item is now the lowest |