|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.mvstore.TransactionStore
public class TransactionStore
A store that supports concurrent transactions.
| Nested Class Summary | |
|---|---|
static class |
TransactionStore.Transaction
A transaction. |
static class |
TransactionStore.TransactionMap<K,V>
A map that supports transactions. |
| Constructor Summary | |
|---|---|
TransactionStore(MVStore store)
Create a new transaction store. |
|
| Method Summary | ||
|---|---|---|
TransactionStore.Transaction |
begin()
Begin a new transaction. |
|
void |
close()
Close the transaction store. |
|
java.util.List<TransactionStore.Transaction> |
getOpenTransactions()
Get the list of currently open transactions. |
|
|
openMap(java.lang.String name,
MVMap.Builder<A,B> builder)
Open the map to store the data. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionStore(MVStore store)
store - the store| Method Detail |
|---|
public java.util.List<TransactionStore.Transaction> getOpenTransactions()
public void close()
public TransactionStore.Transaction begin()
public <A,B> MVMap<A,B> openMap(java.lang.String name,
MVMap.Builder<A,B> builder)
A - the key typeB - the value typename - the map namebuilder - the builder
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||