| Interface | Description |
|---|---|
| Bind.MapListener<K,V> |
Listener called when
Map is modified. |
| Bind.MapWithModificationListener<K,V> |
Primary Maps must provide notifications when it is modified.
|
| BTreeKeySerializer.StringArrayKeys | |
| DataIO.DataInputInternal |
Give access to internal byte[] or ByteBuffer in DataInput2..
|
| DB.Keys | |
| DBMaker.Keys | |
| Engine |
Centerpiece for record management,
Engine is simple key value store. |
| Fun.Function0<R> |
function which takes no argument and returns one value
|
| Fun.Function1<R,A> |
function which takes one argument and returns one value
|
| Fun.Function1Int<R> |
function which takes one int argument and returns one value
|
| Fun.Function2<R,A,B> |
function which takes two argument and returns one value
|
| Fun.RecordCondition<A> |
decides if some action should be executed on an record
|
| SerializerBase.Header |
Header byte, is used at start of each record to indicate data type
WARNING !!! values bellow must be unique !!!!!
|
| SerializerBase.HeaderMapDB | |
| SerializerBase.Ser<A> | |
| Store.Cache.WeakSoftRef.CacheItem | |
| TxBlock |
Wraps single transaction in a block
|
| WriteAheadLog.WALReplay |
| Class | Description |
|---|---|
| Atomic |
A small toolkit of classes that support lock-free thread-safe
programming on single records.
|
| Atomic.Boolean |
A
boolean record that may be updated atomically. |
| Atomic.Integer |
An
int record that may be updated atomically. |
| Atomic.Long |
A
long record that may be updated atomically. |
| Atomic.String |
A
String record that may be updated atomically. |
| Atomic.Var<E> |
Atomically updated variable which may contain any type of record.
|
| Bind |
Binding is simple yet powerful way to keep secondary collection synchronized with primary collection.
|
| BTreeKeySerializer<KEY,KEYS> |
Custom serializer for BTreeMap keys which enables [Delta encoding](https://en.wikipedia.org/wiki/Delta_encoding).
|
| BTreeKeySerializer.ArrayKeySerializer | |
| BTreeKeySerializer.BasicKeySerializer |
Basic Key Serializer which just writes data without applying any compression.
|
| BTreeKeySerializer.ByteArrayKeys | |
| BTreeKeySerializer.CharArrayKeys | |
| BTreeKeySerializer.Compress | |
| BTreeMap<K,V> |
A scalable concurrent
ConcurrentNavigableMap implementation. |
| BTreeMap.BNode |
common interface for BTree node
|
| BTreeMap.BTreeDescendingIterator | |
| BTreeMap.BTreeIterator | |
| BTreeMap.DescendingMap<K,V> | |
| BTreeMap.DirNode | |
| BTreeMap.KeySet<E> | |
| BTreeMap.LeafNode | |
| BTreeMap.NodeSerializer<A,B> | |
| BTreeMap.SubMap<K,V> | |
| BTreeMap.ValRef |
if
valsOutsideNodes is true, this class is used instead of values. |
| CompressLZF |
This class implements the LZF lossless data compression algorithm.
|
| DataIO |
Various IO classes and utilities..
|
| DataIO.DataInputByteArray |
DataInput on top of
byte[] |
| DataIO.DataInputByteBuffer |
Wraps
ByteBuffer and provides DataInput |
| DataIO.DataInputToStream |
Wraps
DataInput into InputStream |
| DataIO.DataOutputByteArray |
Provides
DataOutput implementation on top of growable byte[]
ByteArrayOutputStream is not used as it requires byte[] copying |
| DataIO.HeartbeatFileLock |
File locking mechanism.
|
| DB |
A database with easy access to named maps and other collections.
|
| DB.BTreeMapMaker | |
| DB.HTreeMapMaker | |
| DB.IdentityWrapper |
changes object hash and equals method to use identity
|
| DBMaker |
A builder class to creare and open new database and individual collections.
|
| DBMaker.Maker | |
| EncryptionXTEA |
An implementation of the EncryptionXTEA block cipher algorithm.
|
| Engine.CloseOnJVMShutdown |
Closes Engine on JVM shutdown using shutdown hook:
Runtime.addShutdownHook(Thread)
If engine was closed by user before JVM shutdown, hook is removed to save memory. |
| Engine.ReadOnly | |
| Engine.ReadOnlyWrapper |
Wraps an
Engine and throws
UnsupportedOperationException("Read-only")
on any modification attempt. |
| Fun |
Functional stuff.
|
| Fun.ArrayComparator |
compares two arrays using given comparators
|
| Fun.Pair<A,B> | |
| HTreeMap<K,V> |
Thread safe concurrent HashMap
|
| HTreeMap.ExpireLinkNode | |
| HTreeMap.LinkedNode<K,V> |
node which holds key-value pair
|
| Pump |
Data Pump moves data from one source to other.
|
| Queues |
Various queue algorithms
|
| Queues.CircularQueue<E> | |
| Queues.Queue<E> |
First in first out lock-free queue
|
| Queues.SimpleQueue<E> | |
| Queues.SimpleQueue.Node<E> | |
| Queues.SimpleQueue.NodeSerializer<E> | |
| Queues.Stack<E> |
Last in first out lock-free queue
|
| Serializer<A> |
Provides serialization and deserialization
|
| Serializer.Array<T> | |
| Serializer.BooleanSer | |
| Serializer.CompressionDeflateWrapper<E> |
wraps another serializer and (de)compresses its output/input using Deflate
|
| Serializer.CompressionWrapper<E> |
wraps another serializer and (de)compresses its output/input
|
| Serializer.EightByteSerializer<E> | |
| Serializer.FourByteSerializer<E> | |
| Serializer.IntegerSerializer | |
| Serializer.LongSerializer | |
| SerializerBase |
Serializer which uses 'header byte' to serialize/deserialize
most of classes from 'java.lang' and 'java.util' packages.
|
| SerializerBase.Deser<A> | |
| SerializerBase.DeserInt | |
| SerializerBase.DeserLong | |
| SerializerBase.DeserSerializer | |
| SerializerBase.DeserStringLen | |
| SerializerBase.FastArrayList<K> |
Utility class similar to ArrayList, but with fast identity search.
|
| SerializerBase.SerHeaderSerializer | |
| SerializerPojo |
Serializer which handles POJO, object graphs etc.
|
| SerializerPojo.ClassInfo |
Stores info about single class stored in MapDB.
|
| SerializerPojo.FieldInfo |
Stores info about single field stored in MapDB.
|
| Store | |
| Store.Cache |
Cache implementation, part of
Store class. |
| Store.Cache.HardRef |
Cache created objects using hard reference.
|
| Store.Cache.HashTable |
Fixed size cache which uses hash table.
|
| Store.Cache.LRU | |
| Store.Cache.WeakSoftRef |
Instance cache which uses
SoftReference or WeakReference
Items can be removed from cache by Garbage Collector if |
| Store.Cache.WeakSoftRef.CacheSoftItem<A> | |
| Store.Cache.WeakSoftRef.CacheWeakItem<A> | |
| Store.LongList | |
| Store.LongLongMap |
Open Hash Map which uses primitive long as values and keys.
|
| Store.LongObjectMap<V> |
Open Hash Map which uses primitive long as keys.
|
| Store.LongObjectObjectMap<V1,V2> |
Open Hash Map which uses primitive long as keys.
|
| Store.LongQueue |
Queue of primitive long.
|
| Store.MemoryBarrierLessLock |
Lock which blocks parallel execution, but does not use MemoryBarrier (and does not flush CPU cache)
|
| Store.ReadWriteSingleLock |
fake read/write lock which in fact locks on single write lock
|
| StoreAppend |
append only store
|
| StoreArchive |
Store without index table.
|
| StoreCached |
Extends
StoreDirect with Write Cache |
| StoreDirect | |
| StoreDirect.Snapshot | |
| StoreHeap |
Store which keeps all instances on heap.
|
| StoreHeap.Snapshot | |
| StoreWAL |
Write-Ahead-Log
|
| TxEngine |
Naive implementation of Snapshots on top of StorageEngine.
|
| TxMaker |
Transaction factory
|
| Volume |
MapDB abstraction over raw storage (file, disk partition, memory etc...).
|
| Volume.ByteArrayVol | |
| Volume.ByteBufferVol |
Abstract Volume over bunch of ByteBuffers
It leaves ByteBufferVol details (allocation, disposal) on subclasses.
|
| Volume.ByteBufferVolSingle |
Abstract Volume over single ByteBuffer, maximal size is 2GB (32bit limit).
|
| Volume.FileChannelVol |
Volume which uses FileChannel.
|
| Volume.MappedFileVol | |
| Volume.MappedFileVolSingle | |
| Volume.MemoryVol | |
| Volume.MemoryVolSingle | |
| Volume.RandomAccessFileVol | |
| Volume.ReadOnly | |
| Volume.SingleByteArrayVol |
Volume backed by on-heap byte[] with maximal fixed size 2GB.
|
| Volume.VolumeFactory | |
| WriteAheadLog |
WAL shared between
StoreWAL and StoreAppend |
| Exception | Description |
|---|---|
| DBException |
General exception returned by MapDB if something goes wrong.
|
| DBException.ChecksumBroken | |
| DBException.ClassNotFound | |
| DBException.DataCorruption | |
| DBException.EngineCompactUncommited | |
| DBException.EngineGetVoid | |
| DBException.FileDeleteFailed | |
| DBException.FileLocked |
Some other process (possibly DB) holds exclusive lock over this file, so it can not be opened
|
| DBException.HeadChecksumBroken | |
| DBException.Interrupted | |
| DBException.OutOfMemory | |
| DBException.PointerChecksumBroken | |
| DBException.PumpSourceDuplicate | |
| DBException.PumpSourceNotSorted | |
| DBException.UnknownSerializer | |
| DBException.VolumeClosed | |
| DBException.VolumeClosedByInterrupt | |
| DBException.VolumeEOF | |
| DBException.VolumeIOError | |
| DBException.VolumeMaxSizeExceeded | |
| DBException.WrongConfig | |
| TxRollbackException |
Exception thrown when transaction is rolled back.
|
Copyright © 2015. All Rights Reserved.