public class InMemoryTransactionManager extends AbstractTransactionManager
Constructor and Description |
---|
InMemoryTransactionManager() |
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction()
Starts a transaction
|
void |
commit()
Commits a transaction
|
org.apache.directory.mavibot.btree.BTreeHeader |
getBTreeHeader(String name)
Get the current BTreeHeader for a given Btree.
|
void |
rollback()
Rollback a transaction
|
void |
updateNewBTreeHeaders(org.apache.directory.mavibot.btree.BTreeHeader btreeHeader)
Updates the map of new BTreeHeaders
|
public InMemoryTransactionManager()
public void beginTransaction()
public void commit()
public void rollback()
public org.apache.directory.mavibot.btree.BTreeHeader getBTreeHeader(String name)
name
- The Btree name we are looking the BtreeHeader forpublic void updateNewBTreeHeaders(org.apache.directory.mavibot.btree.BTreeHeader btreeHeader)
btreeHeader
- The new BtreeHeaderCopyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.