Hi All,
I am trying to implement the time out functionality for the locked records by a particular Client. Now I have gone throw the msgs posted on this list and what I have understand from here is to have a static synchronized map and store the recNo and the time at which the record was locked.
Now my question is here how is the timeout checked, have you guys/gals used a Timer to check the map after every min or so. I am a little confused here about the timeout. Do we even need to provide this functionality if not why every one is using a hashtable and not a vector for locking.
thanks
Aslam
I am trying to implement the time out functionality for the locked records by a particular Client. Now I have gone throw the msgs posted on this list and what I have understand from here is to have a static synchronized map and store the recNo and the time at which the record was locked.
Now my question is here how is the timeout checked, have you guys/gals used a Timer to check the map after every min or so. I am a little confused here about the timeout. Do we even need to provide this functionality if not why every one is using a hashtable and not a vector for locking.
thanks
Aslam