ObjectStoreEngine constructor
ObjectStoreEngine({
- required ObjectStore store,
- String prefix = 'db/',
- int blockTargetSize = 64 * 1024,
- int arenaChunkSize = 1 << 20,
- int segmentCacheSize = 4,
Creates an engine over store under prefix.
Implementation
ObjectStoreEngine({
required this.store,
this.prefix = 'db/',
this.blockTargetSize = 64 * 1024,
int arenaChunkSize = 1 << 20,
this.segmentCacheSize = 4,
}) : _arenaChunkSize = arenaChunkSize,
_arena = DocArena(chunkSize: arenaChunkSize);