public long getCacheCompactedBlocksOnWriteThreshold() {
    return this.cacheCompactedDataOnWriteThreshold;
  }
Returns total file size in bytes threshold for caching while writing during compaction
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java