org.apache.hadoop.hdfs.server.protocol
Class RemoteEditLog
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.RemoteEditLog
- All Implemented Interfaces:
- Comparable<RemoteEditLog>
public class RemoteEditLog
- extends Object
- implements 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)
RemoteEditLog
public RemoteEditLog(long startTxId,
long endTxId,
boolean inProgress)
getStartTxId
public long getStartTxId()
getEndTxId
public long getEndTxId()
isInProgress
public boolean isInProgress()
toString
public String toString()
- Overrides:
toString in class Object
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 © 2014 Apache Software Foundation. All Rights Reserved.