| 程序包 | 说明 |
|---|---|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.mvstore.tx |
Helper classes to use the MVStore in a transactional manner.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Transaction |
SessionLocal.getTransaction()
Get the transaction to use for this session.
|
Transaction |
SessionLocal.getTransaction()
Get the transaction to use for this session.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Transaction |
TransactionStore.begin()
Begin a new transaction.
|
Transaction |
TransactionStore.begin()
Begin a new transaction.
|
Transaction |
TransactionStore.begin(TransactionStore.RollbackListener listener,
int timeoutMillis,
int ownerId,
IsolationLevel isolationLevel)
Begin a new transaction.
|
Transaction |
TransactionStore.begin(TransactionStore.RollbackListener listener,
int timeoutMillis,
int ownerId,
IsolationLevel isolationLevel)
Begin a new transaction.
|
Transaction |
TransactionMap.getTransaction() |
Transaction |
TransactionMap.getTransaction() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Transaction> |
TransactionStore.getOpenTransactions()
Get the list of unclosed transactions that have pending writes.
|
List<Transaction> |
TransactionStore.getOpenTransactions()
Get the list of unclosed transactions that have pending writes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TransactionMap<K,V> |
TransactionMap.getInstance(Transaction transaction)
Get a clone of this map for the given transaction.
|
TransactionMap<K,V> |
TransactionMap.getInstance(Transaction transaction)
Get a clone of this map for the given transaction.
|
boolean |
Transaction.waitFor(Transaction toWaitFor,
String mapName,
Object key)
Make this transaction to wait for the specified transaction to be closed,
because both of them try to modify the same map entry.
|
boolean |
Transaction.waitFor(Transaction toWaitFor,
String mapName,
Object key)
Make this transaction to wait for the specified transaction to be closed,
because both of them try to modify the same map entry.
|
Copyright © 2022. All rights reserved.