Jörg Schaible wrote:

>> Probably you should look at java.rmi.server.UID -- the millis are
>> checked only when internal counter reaches its limit.

> This violates the requirement to recalculate the creation time from
> the id ...

Why do you need to recalculate the creation time from the id ?

Usually it is enough that ids are in a natural order.

Please note, that code in java.rmi.server.UID waits while time is
increased in at least a second, since time syncing is usually done in
smaller fractions.

> but this approach might be adapted: I can use my internal
> counter as long as the time has not *increased* instead of resetting
> it if the time has simply changed. Sometimes the simplest ideas are
> best ...

-- 
Best regards,
 Alexey                            mailto:[EMAIL PROTECTED]

Reply via email to