Github user vrozov commented on the issue:
    1. The read locks are not exclusive (single writer/multiple readers). To 
achieve the required functionality you need to introduce a different lock and 
use write (or exclusive) lock.
    2. The choice for TreeSet is not obvious. What are the most common 
operations performed on the collection? Do you optimize for get, put or 
collection construction?
    @arina-ielchiieva my github id is `vrozov`.


Reply via email to