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.
posted 10 years ago
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.