public class InMemChangeLog extends Object implements IChangeLog
| Constructor and Description |
|---|
InMemChangeLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeEvent(IChangeRecord record)
|
void |
close()
See
IChangeLog.close(). |
Collection<IChangeRecord> |
getLastCommit()
Return the change set as of the last commmit point.
|
Collection<IChangeRecord> |
getLastCommit(AbstractTripleStore db)
Return the change set as of the last commmit point, using the supplied
database to resolve ISPOs to BigdataStatements.
|
void |
transactionAborted()
|
void |
transactionBegin()
Message issued when a new transaction will begin.
|
void |
transactionCommited(long commitTime)
|
void |
transactionPrepare()
Message issued when preparing for a commit.
|
public void changeEvent(IChangeRecord record)
changeEvent in interface IChangeLogrecord - the IChangeRecordpublic void transactionBegin()
IChangeLogtransactionBegin in interface IChangeLogpublic void transactionPrepare()
IChangeLogIChangeLog.transactionCommited(long) or
IChangeLog.transactionAborted().
Note: The listener will have observed all updates by the time this message is generated. Thus, this message can be used to validate post-conditions for the transaction.
transactionPrepare in interface IChangeLogpublic void transactionCommited(long commitTime)
transactionCommited in interface IChangeLogcommitTime - The timestamp associated with the commit point.public void transactionAborted()
transactionAborted in interface IChangeLogpublic void close()
IChangeLog.close().close in interface IChangeLogpublic Collection<IChangeRecord> getLastCommit()
IChangeRecords as of the last commit
pointpublic Collection<IChangeRecord> getLastCommit(AbstractTripleStore db)
IChangeRecords as of the last commit
pointCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.