Class ChunkManagerFactory
java.lang.Object
org.apache.hadoop.ozone.container.keyvalue.impl.ChunkManagerFactory
Select an appropriate ChunkManager implementation as per config setting.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkManagercreateChunkManager(org.apache.hadoop.hdds.conf.ConfigurationSource conf, BlockManager manager, VolumeSet volSet) Create a chunk manager.
-
Method Details
-
createChunkManager
public static ChunkManager createChunkManager(org.apache.hadoop.hdds.conf.ConfigurationSource conf, BlockManager manager, VolumeSet volSet) Create a chunk manager.- Parameters:
conf- Configurationmanager- This parameter will be used only for read data of FILE_PER_CHUNK layout file. Can be null for other cases.
-