public class RefCntRamDirectory extends RAMDirectory
fileMap, sizeInBytesisOpen, lockFactory| Constructor and Description |
|---|
RefCntRamDirectory() |
RefCntRamDirectory(Directory dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
decRef() |
void |
incRef() |
boolean |
isOpen() |
createOutput, deleteFile, fileExists, fileLength, fileModified, listAll, newRAMFile, openInput, sizeInBytes, touchFileclearLock, copy, copy, ensureOpen, getLockFactory, getLockID, makeLock, openInput, setLockFactory, sync, sync, toStringpublic RefCntRamDirectory()
public RefCntRamDirectory(Directory dir) throws IOException
IOExceptionpublic void incRef()
public void decRef()
public final void close()
close in interface Closeableclose in class RAMDirectorypublic boolean isOpen()