org.apache.hadoop.hdfs.protocol
Class CorruptFileBlocks

java.lang.Object
  extended by org.apache.hadoop.hdfs.protocol.CorruptFileBlocks

public class CorruptFileBlocks
extends Object

Contains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.


Constructor Summary
CorruptFileBlocks()
           
CorruptFileBlocks(String[] files, String cookie)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCookie()
           
 String[] getFiles()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorruptFileBlocks

public CorruptFileBlocks()

CorruptFileBlocks

public CorruptFileBlocks(String[] files,
                         String cookie)
Method Detail

getFiles

public String[] getFiles()

getCookie

public String getCookie()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Apache Software Foundation. All Rights Reserved.