public interface IChangeLog
changeEvent(IChangeRecord)
method. These events will
occur on an ongoing basis as statements are added to or removed from the
indices. It is the change log's responsibility to collect change records.
When the transaction is actually committed (or aborted), the change log will
receive notification via #transactionCommited()
or
transactionAborted()
.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.
|
void changeEvent(IChangeRecord record)
record
- the IChangeRecord
void transactionBegin()
void transactionPrepare()
transactionCommited(long)
or
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.
void transactionCommited(long commitTime)
commitTime
- The timestamp associated with the commit point.void transactionAborted()
void close()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.