• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Blocking Queue implementation

 
Samuel Ittera
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
My question is has anyone thought of using queues to implement their project? java.util.BlockingQueue would be any easy implementation of the server side concurrency problem. Your thoughts and comments would be appreciated.
 
Roy Mallard
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I considered it for ordering the file writes, but RandomAccessFile is pretty much thread-safe except for the length() method (someone please correct me if I'm wrong!)
I have found ConcurrentHashMap to be very useful.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic