public static class TestSparqlUpdateCommit.CommitCounter extends Object implements IChangeLog
| Constructor and Description |
|---|
TestSparqlUpdateCommit.CommitCounter() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeEvent(IChangeRecord record)
Occurs when a statement add or remove is flushed to the indices (but
not yet committed).
|
void |
close()
Close any open resources.
|
void |
transactionAborted()
Occurs if the current SAIL transaction is aborted.
|
void |
transactionBegin()
Message issued when a new transaction will begin.
|
void |
transactionCommited(long commitTime)
Occurs when the current SAIL transaction is committed.
|
void |
transactionPrepare()
Message issued when preparing for a commit.
|
public TestSparqlUpdateCommit.CommitCounter()
public void transactionCommited(long commitTime)
IChangeLogtransactionCommited in interface IChangeLogcommitTime - The timestamp associated with the commit point.public 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 transactionBegin()
IChangeLogtransactionBegin in interface IChangeLogpublic void transactionAborted()
IChangeLogtransactionAborted in interface IChangeLogpublic void close()
IChangeLogclose in interface IChangeLogpublic void changeEvent(IChangeRecord record)
IChangeLogchangeEvent in interface IChangeLogrecord - the IChangeRecordCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.