// in a slab when using a block size of 8,192
int numberOfBlocksPerSlab = 16384;
int blockSize = BlockDirectory.BLOCK_SIZE;
int slabCount = configuration.getInt(BLUR_SHARD_BLOCKCACHE_SLAB_COUNT, -1);
slabCount = getSlabCount(slabCount, numberOfBlocksPerSlab, blockSize, totalNumberOfBytes);
Cache cache;
if (slabCount >= 1) {
BlockCache blockCache;
boolean directAllocation = configuration.getBoolean(BLUR_SHARD_BLOCKCACHE_DIRECT_MEMORY_ALLOCATION, true);
int slabSize = numberOfBlocksPerSlab * blockSize;