BlockPlacementPolicies (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.blockmanagement, class: BlockPlacementPolicies

Package org.apache.hadoop.hdfs.server.blockmanagement

# Class BlockPlacementPolicies

java.lang.Object
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicies

@Private public class BlockPlacementPolicies extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BlockPlacementPolicies(org.apache.hadoop.conf.Configuration conf, FSClusterStats stats, org.apache.hadoop.net.NetworkTopology clusterMap, org.apache.hadoop.hdfs.server.blockmanagement.Host2NodesMap host2datanodeMap)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BlockPlacementPolicy`
  `getPolicy(org.apache.hadoop.hdfs.protocol.BlockType blockType)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BlockPlacementPolicies

    public BlockPlacementPolicies(org.apache.hadoop.conf.Configuration conf, FSClusterStats stats, org.apache.hadoop.net.NetworkTopology clusterMap, org.apache.hadoop.hdfs.server.blockmanagement.Host2NodesMap host2datanodeMap)

- ## Method Details

  - ### getPolicy

    public BlockPlacementPolicy getPolicy(org.apache.hadoop.hdfs.protocol.BlockType blockType)