org.apache.hadoop.hdfs.server.balancer
Class Dispatcher.DBlock
java.lang.Object
org.apache.hadoop.hdfs.server.balancer.MovedBlocks.Locations<Dispatcher.DDatanode.StorageGroup>
org.apache.hadoop.hdfs.server.balancer.Dispatcher.DBlock
- Enclosing class:
- org.apache.hadoop.hdfs.server.balancer.Dispatcher
public static class Dispatcher.DBlock
- extends MovedBlocks.Locations<Dispatcher.DDatanode.StorageGroup>
A class for keeping track of block locations in the dispatcher.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dispatcher.DBlock
public Dispatcher.DBlock(org.apache.hadoop.hdfs.protocol.Block block)
isLocatedOn
public boolean isLocatedOn(Dispatcher.DDatanode.StorageGroup loc)
- Overrides:
isLocatedOn in class MovedBlocks.Locations<Dispatcher.DDatanode.StorageGroup>
- Returns:
- if the block is located on the given location.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.