public class SimpleJournalingMemSpace extends SimpleJournalingDataIO implements MemDataSpace
| Constructor and Description |
|---|
SimpleJournalingMemSpace(MemDataSpace parent,
java.lang.Runnable flush,
int lgPageSize,
int maxDirtySpace,
long maxLogSize)
Currently only parents with matching pageSize must be used.
|
| Modifier and Type | Method and Description |
|---|---|
long |
allocate(int size,
boolean clear) |
long |
allocatedSize() |
close, commit, discard, flush, toStringread, read, read, readByte, readBytes, readBytes, readInt, readLong, readShort, 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 SimpleJournalingMemSpace(MemDataSpace parent, java.lang.Runnable flush, int lgPageSize, int maxDirtySpace, long maxLogSize)
parent - flush - log - lgPageSize - maxDirtySpace - maxLogSize - public long allocatedSize()
allocatedSize in interface MemSpace