| Modifier and Type | Class and Description |
|---|---|
static class |
Store.Cache.HardRef
Cache created objects using hard reference.
|
static class |
Store.Cache.HashTable
Fixed size cache which uses hash table.
|
static class |
Store.Cache.LRU |
static class |
Store.Cache.WeakSoftRef
Instance cache which uses
SoftReference or WeakReference
Items can be removed from cache by Garbage Collector if |
| Modifier and Type | Field and Description |
|---|---|
protected Store.Cache[] |
Store.caches |
| Modifier and Type | Method and Description |
|---|---|
protected Store.Cache |
DBMaker.Maker.createCache(boolean disableLocks,
int lockScale) |
abstract Store.Cache |
Store.Cache.newCacheForOtherSegment() |
Store.Cache |
Store.Cache.HashTable.newCacheForOtherSegment() |
Store.Cache |
Store.Cache.WeakSoftRef.newCacheForOtherSegment() |
Store.Cache |
Store.Cache.HardRef.newCacheForOtherSegment() |
Store.Cache |
Store.Cache.LRU.newCacheForOtherSegment() |
| Constructor and Description |
|---|
Store(String fileName,
Volume.VolumeFactory volumeFactory,
Store.Cache cache,
int lockScale,
int lockingStrategy,
boolean checksum,
boolean compress,
byte[] password,
boolean readonly,
boolean snapshotEnable,
boolean fileLockDisable,
DataIO.HeartbeatFileLock fileLockHeartbeat) |
StoreAppend(String fileName,
Volume.VolumeFactory volumeFactory,
Store.Cache cache,
int lockScale,
int lockingStrategy,
boolean checksum,
boolean compress,
byte[] password,
boolean readonly,
boolean snapshotEnable,
boolean fileLockDisable,
DataIO.HeartbeatFileLock fileLockHeartbeat,
boolean txDisabled,
ScheduledExecutorService compactionExecutor,
long startSize,
long sizeIncrement) |
StoreArchive(String fileName,
Volume.VolumeFactory volumeFactory,
Store.Cache cache,
int lockScale,
int lockingStrategy,
boolean checksum,
boolean compress,
byte[] password,
boolean readonly,
boolean snapshotEnable,
boolean fileLockDisable,
DataIO.HeartbeatFileLock fileLockHeartbeat) |
StoreCached(String fileName,
Volume.VolumeFactory volumeFactory,
Store.Cache cache,
int lockScale,
int lockingStrategy,
boolean checksum,
boolean compress,
byte[] password,
boolean readonly,
boolean snapshotEnable,
boolean fileLockDisable,
DataIO.HeartbeatFileLock fileLockHeartbeat,
ScheduledExecutorService executor,
long startSize,
long sizeIncrement,
boolean recidReuseDisable,
long executorScheduledRate,
int writeQueueSize) |
StoreDirect(String fileName,
Volume.VolumeFactory volumeFactory,
Store.Cache cache,
int lockScale,
int lockingStrategy,
boolean checksum,
boolean compress,
byte[] password,
boolean readonly,
boolean snapshotEnable,
boolean fileLockDisable,
DataIO.HeartbeatFileLock fileLockHeartbeat,
ScheduledExecutorService executor,
long startSize,
long sizeIncrement,
boolean recidReuseDisable) |
StoreWAL(String fileName,
Volume.VolumeFactory volumeFactory,
Store.Cache cache,
int lockScale,
int lockingStrategy,
boolean checksum,
boolean compress,
byte[] password,
boolean readonly,
boolean snapshotEnable,
boolean fileLockDisable,
DataIO.HeartbeatFileLock fileLockHeartbeat,
ScheduledExecutorService executor,
long startSize,
long sizeIncrement,
boolean recidReuseDisable,
long executorScheduledRate,
int writeQueueSize) |
Copyright © 2015. All Rights Reserved.