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)
IChangeLog
transactionCommited
in interface IChangeLog
commitTime
- The timestamp associated with the commit point.public void transactionPrepare()
IChangeLog
IChangeLog.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 IChangeLog
public void transactionBegin()
IChangeLog
transactionBegin
in interface IChangeLog
public void transactionAborted()
IChangeLog
transactionAborted
in interface IChangeLog
public void close()
IChangeLog
close
in interface IChangeLog
public void changeEvent(IChangeRecord record)
IChangeLog
changeEvent
in interface IChangeLog
record
- the IChangeRecord
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.