public class RemoteEditLog extends Object implements 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) |
RemoteEditLog(long startTxId,
long endTxId,
boolean inProgress) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RemoteEditLog log) |
boolean |
equals(Object o) |
long |
getEndTxId() |
long |
getStartTxId() |
int |
hashCode() |
boolean |
isInProgress() |
String |
toString() |
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 RemoteEditLog(long startTxId, long endTxId, boolean inProgress)
public long getStartTxId()
public long getEndTxId()
public boolean isInProgress()
public int compareTo(RemoteEditLog log)
compareTo
in interface Comparable<RemoteEditLog>
Copyright © 2017 Apache Software Foundation. All Rights Reserved.