Class Dispatcher.Source
java.lang.Object
org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup
org.apache.hadoop.hdfs.server.balancer.Dispatcher.Source
- Enclosing class:
- Dispatcher
A node that can be the sources of a block move
-
Method Summary
Modifier and TypeMethodDescriptionaddPendingMove(Dispatcher.DBlock block, Dispatcher.DDatanode.StorageGroup target) Add a pending movebooleaninthashCode()booleanCheck if the iteration is overMethods inherited from class org.apache.hadoop.hdfs.server.balancer.Dispatcher.DDatanode.StorageGroup
getDatanodeInfo, getStorageType, incScheduledSize, toString
-
Method Details
-
isIterationOver
public boolean isIterationOver()Check if the iteration is over -
addPendingMove
public Dispatcher.PendingMove addPendingMove(Dispatcher.DBlock block, Dispatcher.DDatanode.StorageGroup target) Add a pending move -
hashCode
public int hashCode()- Overrides:
hashCodein classDispatcher.DDatanode.StorageGroup
-
equals
- Overrides:
equalsin classDispatcher.DDatanode.StorageGroup
-