org.apache.lucene.store.bytebuffer
Class ByteBufferFile
java.lang.Object
org.apache.lucene.store.bytebuffer.ByteBufferFile
public class ByteBufferFile
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBufferFile
public ByteBufferFile(ByteBufferDirectory dir,
int bufferSize)
getLength
public long getLength()
setLength
protected void setLength(long length)
getLastModified
public long getLastModified()
setLastModified
protected void setLastModified(long lastModified)
addBuffer
protected final void addBuffer(java.nio.ByteBuffer buffer)
getBuffer
protected final java.nio.ByteBuffer getBuffer(int index)
numBuffers
protected final int numBuffers()