Class MappableBlockLoaderFactory

java.lang.Object
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MappableBlockLoaderFactory

@Private @Unstable public final class MappableBlockLoaderFactory extends Object
Creates MappableBlockLoader.
  • Method Details

    • createCacheLoader

      public static MappableBlockLoader createCacheLoader(DNConf conf)
      Create a specific cache loader according to the configuration. If persistent memory volume is not configured, return a cache loader for DRAM cache. Otherwise, return a cache loader for pmem cache.