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()
ICommitRecord0L iff
there is no ICommitRecord written on the Journal.getTimestamp in interface ICommitRecordpublic final long getCommitCounter()
ICommitRecordgetCommitCounter in interface ICommitRecordpublic final int getRootAddrCount()
ICommitRecordgetRootAddrCount in interface ICommitRecordpublic final long getRootAddr(int index)
ICommitRecordgetRootAddr in interface ICommitRecordindex - The index of the root address.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.