public class RemoteEditLog extends Object implements org.apache.hadoop.io.Writable, Comparable<RemoteEditLog>
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<RemoteEditLog,Long> |
GET_START_TXID
Guava
Function which applies getStartTxId() |
Constructor and Description |
---|
RemoteEditLog() |
RemoteEditLog(long startTxId,
long endTxId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RemoteEditLog log) |
boolean |
equals(Object o) |
long |
getEndTxId() |
long |
getStartTxId() |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public static final com.google.common.base.Function<RemoteEditLog,Long> GET_START_TXID
Function
which applies getStartTxId()
public RemoteEditLog()
public RemoteEditLog(long startTxId, long endTxId)
public long getStartTxId()
public long getEndTxId()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public int compareTo(RemoteEditLog log)
compareTo
in interface Comparable<RemoteEditLog>
Copyright © 2014 Apache Software Foundation. All Rights Reserved.