commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Panchenko <alex+n...@olmisoft.com>
Subject Re[2]: Gump & VM
Date Fri, 16 Dec 2005 04:10:37 GMT
Jörg Schaible wrote:

> Well, no, the id generator should produce as many ids as possible.
> The only requirement for this one is, that you can recreate the time
> from the generated id and that the ids are generated in a natural
> order. This is currently resolved by an internal counter that is
> resetted everytime the current millis have changed.

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

-- 
Best regards,
 Alexey                            mailto:alex+news@olmisoft.com
Mime
View raw message