public class DelegatingChangeLog extends Object implements IChangeLog
Constructor and Description |
---|
DelegatingChangeLog() |
Modifier and Type | Method and Description |
---|---|
void |
addDelegate(IChangeLog delegate) |
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 |
removeDelegate(IChangeLog delegate) |
String |
toString() |
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 void addDelegate(IChangeLog delegate)
public void removeDelegate(IChangeLog delegate)
public void changeEvent(IChangeRecord record)
IChangeLog
changeEvent
in interface IChangeLog
record
- the IChangeRecord
public void transactionBegin()
IChangeLog
transactionBegin
in interface IChangeLog
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 transactionCommited(long commitTime)
IChangeLog
transactionCommited
in interface IChangeLog
commitTime
- The timestamp associated with the commit point.public void transactionAborted()
IChangeLog
transactionAborted
in interface IChangeLog
public void close()
IChangeLog
close
in interface IChangeLog
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.