Class MappableBlockLoaderFactory
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MappableBlockLoaderFactory
Creates MappableBlockLoader.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MappableBlockLoadercreateCacheLoader(DNConf conf) Create a specific cache loader according to the configuration.
-
Method Details
-
createCacheLoader
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.
-