| Modifier and Type | Class and Description |
|---|---|
static class |
Volume.ByteArrayVol |
static class |
Volume.ByteBufferVol
Abstract Volume over bunch of ByteBuffers
It leaves ByteBufferVol details (allocation, disposal) on subclasses.
|
static class |
Volume.ByteBufferVolSingle
Abstract Volume over single ByteBuffer, maximal size is 2GB (32bit limit).
|
static class |
Volume.FileChannelVol
Volume which uses FileChannel.
|
static class |
Volume.MappedFileVol |
static class |
Volume.MappedFileVolSingle |
static class |
Volume.MemoryVol |
static class |
Volume.MemoryVolSingle |
static class |
Volume.RandomAccessFileVol |
static class |
Volume.ReadOnly |
static class |
Volume.SingleByteArrayVol
Volume backed by on-heap byte[] with maximal fixed size 2GB.
|
| Modifier and Type | Field and Description |
|---|---|
protected Volume |
WriteAheadLog.curVol |
protected Volume |
StoreAppend.headVol |
protected Volume |
StoreDirect.headVol |
protected Volume |
StoreAppend.indexTable
In memory table which maps recids into their offsets.
|
protected Volume |
StoreWAL.realVol |
protected Volume |
Volume.ReadOnly.vol |
protected Volume |
StoreArchive.vol |
protected Volume |
StoreDirect.vol |
| Modifier and Type | Field and Description |
|---|---|
protected List<Volume> |
WriteAheadLog.volumes |
protected List<Volume> |
WriteAheadLog.walRec
record WALs, store recid-record pairs.
|
| Modifier and Type | Method and Description |
|---|---|
Volume |
Volume.VolumeFactory.makeVolume(String file,
boolean readOnly) |
Volume |
Volume.VolumeFactory.makeVolume(String file,
boolean readOnly,
boolean fileLockDisable) |
abstract Volume |
Volume.VolumeFactory.makeVolume(String file,
boolean readOnly,
boolean fileLockDisabled,
int sliceShift,
long initSize,
boolean fixedSize) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
WriteAheadLog.checksum(Volume vol,
long startOffset,
long endOffset) |
void |
Volume.copyEntireVolumeTo(Volume to)
Copy content of this volume to another.
|
protected int |
StoreDirect.headChecksum(Volume vol2) |
void |
Volume.transferInto(long inputOffset,
Volume target,
long targetOffset,
long size)
Transfers data from this Volume into target volume.
|
void |
Volume.ByteBufferVol.transferInto(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
Volume.ByteBufferVolSingle.transferInto(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
Volume.ByteArrayVol.transferInto(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
Volume.SingleByteArrayVol.transferInto(long inputOffset,
Volume target,
long targetOffset,
long size) |
void |
Volume.ReadOnly.transferInto(long inputOffset,
Volume target,
long targetOffset,
long size) |
static void |
Volume.volumeTransfer(long size,
Volume from,
Volume to)
transfer data from one volume to second.
|
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) |
| Constructor and Description |
|---|
Volume.ReadOnly(Volume vol) |
Copyright © 2015. All Rights Reserved.