| Modifier and Type | Class and Description |
|---|---|
static class |
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. |
static class |
Engine.ReadOnly |
static class |
Engine.ReadOnlyWrapper
Wraps an
Engine and throws
UnsupportedOperationException("Read-only")
on any modification attempt. |
class |
Store |
class |
StoreAppend
append only store
|
class |
StoreArchive
Store without index table.
|
class |
StoreCached
Extends
StoreDirect with Write Cache |
class |
StoreDirect |
static class |
StoreDirect.Snapshot |
class |
StoreHeap
Store which keeps all instances on heap.
|
static class |
StoreHeap.Snapshot |
class |
StoreWAL
Write-Ahead-Log
|
class |
TxEngine
Naive implementation of Snapshots on top of StorageEngine.
|
class |
TxEngine.Tx |
| Modifier and Type | Field and Description |
|---|---|
static Engine |
Engine.CLOSED_ENGINE
throws
IllegalAccessError("already closed") on all access |
protected Engine |
TxEngine.engine |
protected Engine |
Engine.ReadOnlyWrapper.engine |
protected Engine |
Engine.CloseOnJVMShutdown.engine |
protected Engine |
Queues.SimpleQueue.engine |
protected Engine |
Atomic.Integer.engine |
protected Engine |
Atomic.Long.engine |
protected Engine |
Atomic.Boolean.engine |
protected Engine |
Atomic.String.engine |
protected Engine |
Atomic.Var.engine |
protected Engine |
TxMaker.engine
parent engine under which modifications are stored
|
protected Engine |
DB.engine
Engine which provides persistence for this DB
|
protected Engine |
SerializerPojo.engine |
protected Engine |
BTreeMap.engine
DB Engine in which entries are persisted
|
protected Engine[] |
HTreeMap.engines |
protected Engine[] |
DB.HTreeMapMaker.engines |
| Modifier and Type | Method and Description |
|---|---|
static Engine |
TxEngine.createSnapshotFor(Engine engine) |
protected Engine |
DBMaker.Maker.extendSnapshotEngine(Engine engine,
int lockScale) |
protected Engine |
DBMaker.Maker.extendWrapSnapshotEngine(Engine engine) |
Engine |
HTreeMap.getEngine() |
protected Engine |
SerializerBase.getEngine() |
Engine |
DB.getEngine() |
protected Engine |
SerializerPojo.getEngine() |
Engine |
BTreeMap.getEngine() |
Engine |
TxMaker.getGlobalEngine() |
Engine |
TxEngine.getWrappedEngine() |
Engine |
TxEngine.Tx.getWrappedEngine() |
Engine |
Engine.getWrappedEngine()
if this is wrapper return underlying engine, or null
|
Engine |
Engine.ReadOnlyWrapper.getWrappedEngine() |
Engine |
Engine.CloseOnJVMShutdown.getWrappedEngine() |
Engine |
StoreHeap.Snapshot.getWrappedEngine() |
Engine |
Store.getWrappedEngine() |
Engine |
StoreDirect.Snapshot.getWrappedEngine() |
Engine |
DBMaker.Maker.makeEngine()
constructs Engine using current settings
|
Engine |
TxEngine.snapshot() |
Engine |
TxEngine.Tx.snapshot() |
Engine |
StoreArchive.snapshot() |
Engine |
Engine.snapshot()
Returns read-only snapshot of data in Engine.
|
Engine |
Engine.ReadOnlyWrapper.snapshot() |
Engine |
Engine.CloseOnJVMShutdown.snapshot() |
Engine |
StoreAppend.snapshot() |
Engine |
StoreHeap.snapshot() |
Engine |
StoreHeap.Snapshot.snapshot() |
Engine |
StoreDirect.snapshot() |
Engine |
StoreDirect.Snapshot.snapshot() |
| Modifier and Type | Method and Description |
|---|---|
static <E,K,V> long |
Pump.buildTreeMap(Iterator<E> source,
Engine engine,
Fun.Function1<K,E> keyExtractor,
Fun.Function1<V,E> valueExtractor,
boolean ignoreDuplicates,
int nodeSize,
boolean valuesStoredOutsideNodes,
long counterRecid,
BTreeKeySerializer keySerializer,
Serializer<V> valueSerializer,
Executor executor)
Build BTreeMap (or TreeSet) from presorted data.
|
protected void |
HTreeMap.counter(int segment,
Engine engine,
int plus) |
protected static long |
BTreeMap.createRootRef(Engine engine,
BTreeKeySerializer keySer,
Serializer valueSer,
boolean valuesOutsideNodes,
int numberOfNodeMetas) |
static Engine |
TxEngine.createSnapshotFor(Engine engine) |
protected Engine |
DBMaker.Maker.extendSnapshotEngine(Engine engine,
int lockScale) |
protected Engine |
DBMaker.Maker.extendWrapSnapshotEngine(Engine engine) |
static Store |
Store.forEngine(Engine e)
traverses Engine wrappers and returns underlying
Store |
protected static long[] |
HTreeMap.preallocateSegments(Engine[] engines) |
| Constructor and Description |
|---|
Atomic.Boolean(Engine engine,
long recid) |
Atomic.Integer(Engine engine,
long recid) |
Atomic.Long(Engine engine,
long recid) |
Atomic.String(Engine engine,
long recid) |
Atomic.Var(Engine engine,
long recid,
Serializer<E> serializer) |
Atomic.Var(Engine engine,
SerializerBase serializerBase,
DataInput is,
SerializerBase.FastArrayList<Object> objectStack) |
BTreeMap(Engine engine,
boolean closeEngine,
long rootRecidRef,
int maxNodeSize,
boolean valsOutsideNodes,
long counterRecid,
BTreeKeySerializer keySerializer,
Serializer<V> valueSerializer,
int numberOfNodeMetas)
Constructor used to create new BTreeMap.
|
DB.HTreeMapMaker(DB db,
String name,
Engine[] engines) |
DB(Engine engine)
Construct new DB.
|
DB(Engine engine,
boolean strictDBGet,
boolean deleteFilesAfterClose,
ScheduledExecutorService executor,
boolean lockDisable,
ScheduledExecutorService metricsExecutor,
long metricsLogInterval,
ScheduledExecutorService storeExecutor,
ScheduledExecutorService cacheExecutor,
Fun.Function1<Class,String> classLoader) |
Engine.CloseOnJVMShutdown(Engine engine) |
Engine.ReadOnlyWrapper(Engine engine) |
HTreeMap(Engine[] engines,
boolean closeEngine,
long[] counterRecids,
int hashSalt,
long[] segmentRecids,
Serializer<K> keySerializer,
Serializer<V> valueSerializer,
long expireTimeStart,
long expire,
long expireAccess,
long expireMaxSize,
long expireStoreSize,
long expireTick,
long[] expireHeads,
long[] expireTails,
Fun.Function1<V,K> valueCreator,
ScheduledExecutorService executor,
long executorPeriod,
boolean closeExecutor,
Lock consistencyLock)
Opens HTreeMap
|
Queues.CircularQueue(Engine engine,
Serializer<E> serializer,
long headRecid,
long headInsertRecid,
long size) |
Queues.Queue(Engine engine,
Serializer<E> serializer,
long headerRecid,
long nextTailRecid,
boolean useLocks) |
Queues.SimpleQueue(Engine engine,
Serializer<E> serializer,
long headRecidRef) |
Queues.Stack(Engine engine,
Serializer<E> serializer,
long headerRecidRef) |
SerializerPojo(Fun.Function1<String,Object> getNameForObject,
Fun.Function1<Object,String> getNamedObject,
Fun.Function1Int<SerializerPojo.ClassInfo> getClassInfo,
Fun.Function0<SerializerPojo.ClassInfo[]> getClassInfos,
Fun.Function1<Void,String> notifyMissingClassInfo,
Fun.Function1<Class,String> classLoader,
Engine engine) |
TxEngine(Engine engine,
boolean fullTx,
int lockScale) |
TxMaker(Engine engine) |
TxMaker(Engine engine,
boolean strictDBGet,
ScheduledExecutorService executor,
Fun.Function1<Class,String> serializerClassLoader) |
Copyright © 2015. All Rights Reserved.