Package | Description |
---|---|
org.mapdb | |
org.mapdb.volume |
Modifier and Type | Field and Description |
---|---|
protected Volume |
WriteAheadLog.curVol |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Volume> |
WriteAheadLog.volumes |
protected java.util.List<Volume> |
WriteAheadLog.walRec
record WALs, store recid-record pairs.
|
Modifier and Type | Method and Description |
---|---|
protected int |
WriteAheadLog.checksum(Volume vol,
long startOffset,
long endOffset) |
void |
WriteAheadLog.WALReplay.writeByteArray(long offset,
long walId,
Volume vol,
long volOffset,
int length) |
void |
WriteAheadLog.WALReplay.writeRecord(long recid,
long walId,
Volume vol,
long volOffset,
int length) |
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayVol
Created by jan on 2/29/16.
|
class |
ByteBufferMemoryVol
Created by jan on 3/13/16.
|
class |
ByteBufferMemoryVolSingle
Created by jan on 3/13/16.
|
class |
ByteBufferVol
Abstract Volume over bunch of ByteBuffers
It leaves ByteBufferVol details (allocation, disposal) on subclasses.
|
class |
ByteBufferVolSingle
Abstract Volume over single ByteBuffer, maximal size is 2GB (32bit limit).
|
class |
FileChannelVol
Volume which uses FileChannel.
|
class |
MappedFileVol
Created by jan on 2/29/16.
|
class |
MappedFileVolSingle
Created by jan on 2/29/16.
|
class |
RandomAccessFileVol
Created by jan on 2/29/16.
|
class |
ReadOnlyVolume
Created by jan on 2/29/16.
|
class |
SingleByteArrayVol
Volume backed by on-heap byte[] with maximal fixed size 2GB.
|
Modifier and Type | Field and Description |
---|---|
protected Volume |
ReadOnlyVolume.vol |
Modifier and Type | Method and Description |
---|---|
Volume |
VolumeFactory.makeVolume(java.lang.String file,
boolean readOnly) |
Volume |
VolumeFactory.makeVolume(java.lang.String file,
boolean readOnly,
long fileLockWait) |
Volume |
MappedFileVol.MappedFileFactory.makeVolume(java.lang.String file,
boolean readOnly,
long fileLockWait,
int sliceShift,
long initSize,
boolean fixedSize) |
abstract Volume |
VolumeFactory.makeVolume(java.lang.String file,
boolean readOnly,
long fileLockWait,
int sliceShift,
long initSize,
boolean fixedSize) |
Modifier and Type | Method and Description |
---|---|
void |
ReadOnlyVolume.copyTo(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
ByteBufferVol.copyTo(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
SingleByteArrayVol.copyTo(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
ByteArrayVol.copyTo(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
ByteBufferVolSingle.copyTo(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
Volume.copyTo(long inputOffset,
Volume target,
long targetOffset,
long size)
Transfers data from this Volume into target volume.
|
void |
Volume.copyTo(Volume to)
Copy content of this volume to another.
|
static VolumeFactory |
VolumeFactory.wrap(Volume volume,
boolean exists) |
Constructor and Description |
---|
ReadOnlyVolume(Volume vol) |
Copyright © 2018. All Rights Reserved.