@Override
  public boolean isCacheEnabled() {
    return this.cacheState == CacheState.ENABLED;
  }
Called by the constructor to start the writer threads. Used by tests that need to override
starting the threads.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java