Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

incomplete "booking"  RSS feed

 
luis veron
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi once again,
I have implemented a collection object (hashtable) that will contain all record number currently being used...what will happen if the thread that save the record number in the hashtable doen't get a chance to removed the saved record #..Is a timer needed in this case? a bit confused on this one . Can you suggest me something here..
many thanks
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

yes i too have implemented a forced unlock scheme after a time interval...so that an unlocked record does'nt remain that way infinitely..something has to be done. There might be lots of ways of doing it though.
karthik.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!