|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.journal.CommitRecord
public class CommitRecord
A read-only view of an ICommitRecord.
| Field Summary |
|---|
| Fields inherited from interface com.bigdata.journal.ICommitRecord |
|---|
FIRST_USER_ROOT, MAX_ROOT_ADDRS |
| Constructor Summary | |
|---|---|
CommitRecord()
|
|
CommitRecord(long timestamp,
long commitCounter,
long[] roots)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CommitRecord()
public CommitRecord(long timestamp,
long commitCounter,
long[] roots)
| Method Detail |
|---|
public final long getTimestamp()
ICommitRecord0L iff
there is no ICommitRecord written on the Journal.
getTimestamp in interface ICommitRecordpublic final long getCommitCounter()
ICommitRecord
getCommitCounter in interface ICommitRecordpublic final int getRootAddrCount()
ICommitRecord
getRootAddrCount in interface ICommitRecordpublic final long getRootAddr(int index)
ICommitRecord
getRootAddr in interface ICommitRecordindex - The index of the root address.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||