User: fleury
Date: 00/08/16 15:07:44
Modified: src/main/org/jboss/util FastKey.java
Log:
ahummm again, not my day
Revision Changes Path
1.3 +3 -3 jboss/src/main/org/jboss/util/FastKey.java
Index: FastKey.java
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/util/FastKey.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- FastKey.java 2000/08/16 21:03:10 1.2
+++ FastKey.java 2000/08/16 22:07:44 1.3
@@ -16,7 +16,7 @@
*
* @see org.jboss.ejb.plugins.NoPassivationInstanceCache.java
* @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
-* @version $Revision: 1.2 $
+* @version $Revision: 1.3 $
*/
public class FastKey
{
@@ -36,7 +36,7 @@
// MF FIXME: I suspect this is weak, if somebody ask for these all the time
(heavy server)
// then a server restart will recieve requests from previous servers and miss
these...
// Think more about it.
- private static long id = System.currentTimeMillis();
+ private static long seedKey = System.currentTimeMillis();
// Constructors --------------------------------------------------
@@ -60,7 +60,7 @@
protected Long nextFastKey()
{
//increment the timeStamp
- return new Long(id++);
+ return new Long(seedKey++);
}
// Private -------------------------------------------------------