Class ChunkManagerFactory

java.lang.Object
org.apache.hadoop.ozone.container.keyvalue.impl.ChunkManagerFactory

public final class ChunkManagerFactory extends Object
Select an appropriate ChunkManager implementation as per config setting.
  • Method Details

    • createChunkManager

      public static ChunkManager createChunkManager(org.apache.hadoop.hdds.conf.ConfigurationSource conf, BlockManager manager, VolumeSet volSet)
      Create a chunk manager.
      Parameters:
      conf - Configuration
      manager - This parameter will be used only for read data of FILE_PER_CHUNK layout file. Can be null for other cases.