Hi guys,
It's the first time that I post a question which related with the lockCookie value, long type.
And I'm not a native English Speaker and Writer. ^^
I'm trying to do my best on writing correctly.
What If there is some missing in my message, please understand it. ~~
As I thought It has two possible value for lockCookie.
which are Thread.currentThread() and Calendar.getInstance().getTimeInMillis()
I used randomAccessFile and synchronized lockRecord method.
so timeInMills also possible. the
Thread also unique value of each thread.
Am I right?
which one you guys using for lookie?
Thanks for regards.
[ September 10, 2008: Message edited by: Jerry Ju ]