public class MutationListener extends Object implements IChangeLog
| Constructor and Description |
|---|
MutationListener() |
| 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 |
clear() |
void |
close()
Close any open resources.
|
int |
getNumInserted() |
int |
getNumRemoved() |
int |
getNumUpdated() |
void |
transactionAborted()
Occurs if the current SAIL transaction is aborted.
|
void |
transactionBegin()
Message issued when a new transaction will begin.
|
void |
transactionCommited(long arg0)
Occurs when the current SAIL transaction is committed.
|
void |
transactionPrepare()
Message issued when preparing for a commit.
|
public void clear()
public int getNumInserted()
public int getNumRemoved()
public int getNumUpdated()
public void changeEvent(IChangeRecord record)
IChangeLogchangeEvent in interface IChangeLogrecord - the IChangeRecordpublic void close()
IChangeLogclose in interface IChangeLogpublic void transactionAborted()
IChangeLogtransactionAborted in interface IChangeLogpublic void transactionBegin()
IChangeLogtransactionBegin in interface IChangeLogpublic void transactionCommited(long arg0)
IChangeLogtransactionCommited in interface IChangeLogarg0 - 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 IChangeLogCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.