@TestOnly
  public void setTimeIndexMemoryThreshold(long timeIndexMemoryThreshold) {
    this.memoryBlock.setTotalMemorySizeInBytes(timeIndexMemoryThreshold);
  }
store the sealed TsFileResource, sorted by priority of TimeIndex
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/rescon/memory/TsFileResourceManager.java