Package org.infinispan.lucene.readlocks

Interface Summary
SegmentReadLocker SegmentReadLocker implementations have to make sure that segments are not deleted while they are being used by an IndexReader.
 

Class Summary
DistributedSegmentReadLocker DistributedSegmentReadLocker stores reference counters in the cache to keep track of the number of clients still needing to be able to read a segment.
LocalLockMergingSegmentReadLocker LocalLockMergingSegmentReadLocker decorates the DistributedSegmentReadLocker to minimize remote operations in case several IndexReaders are opened on the same InfinispanDirectory.
NoopSegmentReadLocker NoopSegmentReadLocker ignores requests to apply a readlock, but also ignores requests to delete files.
 


Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.