Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] Fast Persistence of Unique Numbers
- From: jeff.singer@xxxxxxxxxx (Jeff Singer)
- Subject: [Advanced-java] Fast Persistence of Unique Numbers
- Date: Fri, 18 Jan 2002 16:10:29 +0200
Hi All Sorry if this has been asked before. I need to generate a unique 9 or 10 digit number. Any ideas. I do realize the numbers will rollover after a certain amount of time. The easy solution for us is to start a counter at 1 and increment. I am just worried about persistence, if the process is terminated. Our limitation is speed. It is possible to use a database to do this quite easily, but I need a fast method of doing this without using a database. So, what is the quickest way to persist a number. A file we update? Thanks in advance Jeff Singer
- Follow-Ups:
- [Advanced-java] Fast Persistence of Unique Numbers
- From: John Wilson
- [Advanced-java] Fast Persistence of Unique Numbers
- Prev by Date: [Advanced-java] deserialize an object from a String
- Next by Date: [Advanced-java] Fast Persistence of Unique Numbers
- Previous by thread: [Advanced-java] deserialize an object from a String
- Next by thread: [Advanced-java] Fast Persistence of Unique Numbers
- Index(es):