public interface ICommitRecord
Journal
, etc. The Journal
maintains an
AbstractJournal.getCommitRecord()
index over the commits records so that
transactions
can rapidly recover the commit record corresponding
to their historical, read-only ground state.Modifier and Type | Field and Description |
---|---|
static int |
FIRST_USER_ROOT
The first root address that may be used for a user-defined object.
|
static int |
MAX_ROOT_ADDRS
The #of root ids.
|
Modifier and Type | Method and Description |
---|---|
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 . |
static final int MAX_ROOT_ADDRS
static final int FIRST_USER_ROOT
long getTimestamp()
0L
iff
there is no ICommitRecord
written on the Journal
.long getCommitCounter()
int getRootAddrCount()
long getRootAddr(int index)
index
- The index of the root address.IndexOutOfBoundsException
- if the index is negative or too large.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.