Class FDBDirectoryWrapper

java.lang.Object
com.apple.foundationdb.record.lucene.directory.FDBDirectoryWrapper
All Implemented Interfaces:
AutoCloseable

public class FDBDirectoryWrapper extends Object implements AutoCloseable
Wrapper containing an FDBDirectory and cached accessor objects (like IndexWriters). This object is designed to be held by the FDBDirectoryManager, with one object cached per open directory. Because the FDBDirectory contains cached information from FDB, it is important for cache coherency that all writers (etc.) accessing that directory go through the same wrapper object so that they share a common cache.