public long newCacheId() {
        return cacheIdAlloc.incrementAndGet();
    }
The index of the free block which will be checked next.
Used for acquiring free blocks.
core/src/main/scala/kafka/log/streamaspect/cache/FileCache.java