Alexey Panchenko wrote on Friday, December 16, 2005 10:50 AM: > 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 ?
This is simply part of the requirement! > 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. Yes, and exaclty therefore I can go with the approach below. >> 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 ... - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
