public class InMemChangeLog extends Object implements IChangeLog
Constructor and Description |
---|
InMemChangeLog() |
Modifier and Type | Method and Description |
---|---|
void |
changeEvent(IChangeRecord record)
|
void |
close()
See
IChangeLog.close() . |
Collection<IChangeRecord> |
getLastCommit()
Return the change set as of the last commmit point.
|
Collection<IChangeRecord> |
getLastCommit(AbstractTripleStore db)
Return the change set as of the last commmit point, using the supplied
database to resolve ISPOs to BigdataStatements.
|
void |
transactionAborted()
|
void |
transactionBegin()
Message issued when a new transaction will begin.
|
void |
transactionCommited(long commitTime)
|
void |
transactionPrepare()
Message issued when preparing for a commit.
|
public void changeEvent(IChangeRecord record)
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)
transactionCommited
in interface IChangeLog
commitTime
- The timestamp associated with the commit point.public void transactionAborted()
transactionAborted
in interface IChangeLog
public void close()
IChangeLog.close()
.close
in interface IChangeLog
public Collection<IChangeRecord> getLastCommit()
IChangeRecord
s as of the last commit
pointpublic Collection<IChangeRecord> getLastCommit(AbstractTripleStore db)
IChangeRecord
s as of the last commit
pointCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.