public class GraphStoreNullTransactional extends GraphStoreNull implements Transactional
Constructor and Description |
---|
GraphStoreNullTransactional() |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)
|
void |
begin(ReadWrite readWrite)
Start either a READ or WRITE transaction
|
void |
commit()
Commit a transaction - finish the transaction and make any changes permanent (if a "write" transaction)
|
void |
end()
Finish the transaction - if a write transaction and commit() has not been called, then abort
|
boolean |
isInTransaction()
Say whether a transaction is active
|
add, delete, find, findNG, finishRequest, getDefaultGraph, getGraph, startRequest, toDataset
listGraphNodes, removeGraph
add, addGraph, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, setDefaultGraph, size, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addGraph, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, listGraphNodes, removeGraph, setDefaultGraph, size
public void begin(ReadWrite readWrite)
Transactional
begin
in interface Transactional
public void commit()
Transactional
commit
in interface Transactional
public void abort()
Transactional
abort
in interface Transactional
public boolean isInTransaction()
Transactional
isInTransaction
in interface Transactional
public void end()
Transactional
end
in interface Transactional
Licenced under the Apache License, Version 2.0