org.apache.hadoop.hdfs.server.blockmanagement
Class DatanodeDescriptor.BlockIterator

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor.BlockIterator
All Implemented Interfaces:
Iterator<BlockInfo>
Enclosing class:
org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor

public static class DatanodeDescriptor.BlockIterator
extends Object
implements Iterator<BlockInfo>

Iterates over the list of blocks belonging to the datanode.


Method Summary
 boolean hasNext()
           
 BlockInfo next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<BlockInfo>

next

public BlockInfo next()
Specified by:
next in interface Iterator<BlockInfo>

remove

public void remove()
Specified by:
remove in interface Iterator<BlockInfo>


Copyright © 2013 Apache Software Foundation. All Rights Reserved.