The method iterates over all entry set everytime. This might cause a performance problem.
Why not considering java.util.concurrent.PriorityBlockingQueue instead ? Or design a sorted data structure for the MessageSenders. Is there any other considerations? [cid:62f94076-4bc1-4a95-95ef-0a629b3f7b82]
