public abstract class LogCursor
extends java.lang.Object
implements java.lang.AutoCloseable
Reftable
.Constructor and Description |
---|
LogCursor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract ReflogEntry |
getReflogEntry()
Get current log entry.
|
abstract java.lang.String |
getRefName()
Get name of the current reference.
|
abstract long |
getUpdateIndex()
Get identifier of the transaction that created the log record.
|
abstract boolean |
next()
Check if another log record is available.
|
public abstract boolean next() throws java.io.IOException
true
if there is another result.java.io.IOException
- logs cannot be read.public abstract java.lang.String getRefName()
public abstract long getUpdateIndex()
@Nullable public abstract ReflogEntry getReflogEntry()
public abstract void close()
close
in interface java.lang.AutoCloseable