Class RemoteEditLog
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.RemoteEditLog
- All Implemented Interfaces:
Comparable<RemoteEditLog>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<RemoteEditLog,Long> JavaFunctionwhich appliesgetStartTxId() -
Constructor Summary
ConstructorsConstructorDescriptionRemoteEditLog(long startTxId, long endTxId) RemoteEditLog(long startTxId, long endTxId, boolean inProgress) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(RemoteEditLog log) booleanlonglonginthashCode()booleantoString()
-
Field Details
-
GET_START_TXID
JavaFunctionwhich appliesgetStartTxId()
-
-
Constructor Details
-
RemoteEditLog
public RemoteEditLog() -
RemoteEditLog
public RemoteEditLog(long startTxId, long endTxId) -
RemoteEditLog
public RemoteEditLog(long startTxId, long endTxId, boolean inProgress)
-
-
Method Details
-
getStartTxId
public long getStartTxId() -
getEndTxId
public long getEndTxId() -
isInProgress
public boolean isInProgress() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<RemoteEditLog>
-
equals
-
hashCode
public int hashCode()
-