org.apache.hadoop.hdfs.server.protocol
Class RemoteEditLog
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.RemoteEditLog
- All Implemented Interfaces:
- Comparable<RemoteEditLog>, org.apache.hadoop.io.Writable
public class RemoteEditLog
- extends Object
- implements org.apache.hadoop.io.Writable, Comparable<RemoteEditLog>
GET_START_TXID
public static final com.google.common.base.Function<RemoteEditLog,Long> GET_START_TXID
- Guava
Function
which applies getStartTxId()
RemoteEditLog
public RemoteEditLog()
RemoteEditLog
public RemoteEditLog(long startTxId,
long endTxId)
getStartTxId
public long getStartTxId()
getEndTxId
public long getEndTxId()
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
compareTo
public int compareTo(RemoteEditLog log)
- Specified by:
compareTo
in interface Comparable<RemoteEditLog>
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013 Apache Software Foundation. All Rights Reserved.