public interface TransactionManager<K,V>
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction()
Starts a transaction
|
void |
commit()
Commits a transaction
|
org.apache.directory.mavibot.btree.BTreeHeader<K,V> |
getBTreeHeader(String btreeName)
Gets the current BtreeHeader for a given BTree.
|
void |
rollback()
Rollback a transaction
|
void |
updateNewBTreeHeaders(org.apache.directory.mavibot.btree.BTreeHeader<K,V> btreeHeader)
Updates the map of new BTreeHeaders
|
void beginTransaction()
void commit()
void rollback()
org.apache.directory.mavibot.btree.BTreeHeader<K,V> getBTreeHeader(String btreeName)
btreeName
- The Btree name we are looking the BtreeHeader forvoid updateNewBTreeHeaders(org.apache.directory.mavibot.btree.BTreeHeader<K,V> btreeHeader)
btreeHeader
- The new BtreeHeaderCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.