blockCache property

Cache? get blockCache

Control over blocks (user data is stored in a set of blocks, and a block is the unit of reading from disk).

If non-null, use the specified cache for blocks. If null, leveldb will automatically create and use an 8MB internal cache.

Implementation

Cache? get blockCache;