public class CommitRecord extends Object implements ICommitRecord
ICommitRecord
.FIRST_USER_ROOT, MAX_ROOT_ADDRS
Constructor and Description |
---|
CommitRecord() |
CommitRecord(long timestamp,
long commitCounter,
long[] roots) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCommitCounter()
The commit counter associated with the commit record.
|
long |
getRootAddr(int index)
The last address stored in the specified root address in this
commit record.
|
int |
getRootAddrCount()
The #of allowed root addresses.
|
long |
getTimestamp()
The timestamp assigned to this commit record -or-
0L iff
there is no ICommitRecord written on the Journal . |
String |
toString() |
public CommitRecord()
public CommitRecord(long timestamp, long commitCounter, long[] roots)
public final long getTimestamp()
ICommitRecord
0L
iff
there is no ICommitRecord
written on the Journal
.getTimestamp
in interface ICommitRecord
public final long getCommitCounter()
ICommitRecord
getCommitCounter
in interface ICommitRecord
public final int getRootAddrCount()
ICommitRecord
getRootAddrCount
in interface ICommitRecord
public final long getRootAddr(int index)
ICommitRecord
getRootAddr
in interface ICommitRecord
index
- The index of the root address.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.