org.apache.solr.cloud

Class SizeLimitedDistributedMap



  • public class SizeLimitedDistributedMap
    extends DistributedMap
    A size limited distributed map maintained in zk. Oldest znodes (as per modification time) are evicted as newer ones come in. When the map hits the specified maximum size, the oldest maxSize / 10 items are evicted on the next put(String, byte[]) invocation.