org.apache.solr.core
Class RefCntRamDirectory
java.lang.Object
org.apache.lucene.store.Directory
org.apache.lucene.store.RAMDirectory
org.apache.solr.core.RefCntRamDirectory
- All Implemented Interfaces:
- Closeable, Serializable
public class RefCntRamDirectory
- extends RAMDirectory
- See Also:
- Serialized Form
Methods inherited from class org.apache.lucene.store.Directory |
clearLock, copy, copy, ensureOpen, getLockFactory, getLockID, makeLock, openInput, setLockFactory, sync, sync, toString |
RefCntRamDirectory
public RefCntRamDirectory()
RefCntRamDirectory
public RefCntRamDirectory(Directory dir)
throws IOException
- Throws:
IOException
incRef
public void incRef()
decRef
public void decRef()
close
public final void close()
- Specified by:
close
in interface Closeable
- Overrides:
close
in class RAMDirectory
isOpen
public boolean isOpen()