public class SimpleFileDataSpace extends SimpleFileDataIO implements MemDataSpace
mapMode, persistent| Constructor and Description |
|---|
SimpleFileDataSpace(java.lang.String path,
java.nio.channels.FileChannel.MapMode mapMode,
long reserved) |
SimpleFileDataSpace(java.lang.String path,
java.nio.channels.FileChannel.MapMode mapMode,
long reserved,
int lgPageSize) |
SimpleFileDataSpace(java.lang.String path,
long reserved) |
SimpleFileDataSpace(java.lang.String path,
long reserved,
int lgPageSize) |
| Modifier and Type | Method and Description |
|---|---|
long |
allocate(int len,
boolean clear) |
long |
allocatedSize() |
void |
setSize(long v) |
close, ensureSize, file, flush, rename, toStringfillByte, fillLong, read, read, read, readByte, readBytes, readBytes, readInt, readLong, readShort, readString, write, write, write, write, writeByte, writeBytes, writeBytes, writeInt, writeLong, writeShortequals, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, fillLong, readBytes, readBytes, readInt, readLong, readShort, writeBytes, writeBytes, writeInt, writeLong, writeShortpublic SimpleFileDataSpace(java.lang.String path,
long reserved)
throws java.io.IOException
java.io.IOExceptionpublic SimpleFileDataSpace(java.lang.String path,
java.nio.channels.FileChannel.MapMode mapMode,
long reserved)
throws java.io.IOException
java.io.IOExceptionpublic SimpleFileDataSpace(java.lang.String path,
long reserved,
int lgPageSize)
throws java.io.IOException
java.io.IOExceptionpublic SimpleFileDataSpace(java.lang.String path,
java.nio.channels.FileChannel.MapMode mapMode,
long reserved,
int lgPageSize)
throws java.io.IOException
java.io.IOExceptionpublic long allocatedSize()
allocatedSize in interface MemSpacepublic void setSize(long v)
setSize in class SimpleFileDataIO