public void enableCacheOnWrite() {
    this.cacheDataOnWrite = true;
    this.cacheIndexesOnWrite = true;
    this.cacheBloomsOnWrite = true;
  }
Enable cache on write including: cacheDataOnWrite cacheIndexesOnWrite cacheBloomsOnWrite
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java