|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITransactionQueueManager
The ITransactionQueueManager extends the standard TransactionHandler by adding in a TransactionQueue that holds a queue of transactions, as well as a flag to know if graph is currently in a transaction.
| Method Summary | |
|---|---|
java.lang.Object |
executeInTransaction(Command command)
Execute a command within a transaction, where the Command becomes on ICommand within the ITransaction. |
void |
executeInTransaction(CommandChain commandChain)
Execute a CommandChain within a transaction, where each Command within chain becomes on ICommand within the ITransaction. |
void |
filter(java.util.Collection<org.openrdf.model.Statement> results,
org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.Resource... contexts)
Filter a set of statements with the ITransaction and ICommands within the ITransactionQueue. |
ITransactionQueue |
getTransactionQueue()
Get the TransactionQueue for the manager |
| Methods inherited from interface org.openanzo.model.ITransactionManager |
|---|
abort, begin, beginNonBlocking, commit, currentThreadOwnsTransaction, isInTransaction |
| Method Detail |
|---|
ITransactionQueue getTransactionQueue()
void filter(java.util.Collection<org.openrdf.model.Statement> results,
org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.Resource... contexts)
results - The collection to overlay with the additions and deletions within this transaction.s - The subject of the statement pattern being searched on.p - The property of the statement pattern being searched on.o - The object of the statement pattern being searched on.contexts - The contexts of the statement pattern being searched on.
java.lang.Object executeInTransaction(Command command)
throws AnzoException
command - command to execute
AnzoException - if there was an error executing command
void executeInTransaction(CommandChain commandChain)
throws AnzoException
commandChain - commandChain to execute *
AnzoException - if there was an error executing commandChain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||