org.apache.hadoop.hdfs.server.protocol
Class RemoteEditLogManifest

java.lang.Object
  extended by org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class RemoteEditLogManifest
extends Object
implements org.apache.hadoop.io.Writable

An enumeration of logs available on a remote NameNode.


Constructor Summary
RemoteEditLogManifest()
           
RemoteEditLogManifest(List<RemoteEditLog> logs)
           
 
Method Summary
 List<RemoteEditLog> getLogs()
           
 void readFields(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteEditLogManifest

public RemoteEditLogManifest()

RemoteEditLogManifest

public RemoteEditLogManifest(List<RemoteEditLog> logs)
Method Detail

getLogs

public List<RemoteEditLog> getLogs()

toString

public String toString()
Overrides:
toString in class Object

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.