Package | Description |
---|---|
com.amazon.carbonado |
Main user-level interfaces, classes, and annotations for Carbonado.
|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
com.amazon.carbonado.spi |
Service Provider Interface for Carbonado.
|
com.amazon.carbonado.txn |
Provides support for managing transactions.
|
Modifier and Type | Method and Description |
---|---|
IsolationLevel |
Transaction.getIsolationLevel()
Returns the isolation level of this transaction.
|
IsolationLevel |
Repository.getTransactionIsolationLevel()
Returns the isolation level of the current transaction, or null if there
is no transaction in the current thread.
|
IsolationLevel |
IsolationLevel.highestCommon(IsolationLevel level)
Returns the highest common isolation level between this and the one
given.
|
IsolationLevel |
IsolationLevel.lowestCommon(IsolationLevel level)
Returns the lowest common isolation level between this and the one
given.
|
static IsolationLevel |
IsolationLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IsolationLevel[] |
IsolationLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
Repository.enterTopTransaction(IsolationLevel level)
Causes the current thread to enter a top-level transaction scope
with an explict isolation level.
|
Transaction |
Repository.enterTransaction(IsolationLevel level)
Causes the current thread to enter a transaction scope with an explict
isolation level.
|
IsolationLevel |
IsolationLevel.highestCommon(IsolationLevel level)
Returns the highest common isolation level between this and the one
given.
|
boolean |
IsolationLevel.isAtLeast(IsolationLevel level)
Returns true if this isolation level is at least as high as the one
given.
|
boolean |
IsolationLevel.isAtMost(IsolationLevel level)
Returns true if this isolation level is no higher than the one given.
|
IsolationLevel |
IsolationLevel.lowestCommon(IsolationLevel level)
Returns the lowest common isolation level between this and the one
given.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Transaction |
StandardQuery.enterTransaction(IsolationLevel level)
Enter a transaction as needed by the standard delete operation, or null
if transactions are not supported.
|
Modifier and Type | Method and Description |
---|---|
IsolationLevel |
AbstractRepository.getTransactionIsolationLevel() |
Modifier and Type | Method and Description |
---|---|
Transaction |
AbstractRepository.enterTopTransaction(IsolationLevel level) |
Transaction |
AbstractRepository.enterTransaction(IsolationLevel level) |
Modifier and Type | Method and Description |
---|---|
IsolationLevel |
TransactionPair.getIsolationLevel() |
IsolationLevel |
TransactionScope.getIsolationLevel()
Returns the isolation level of the active transaction, or null if there
is no active transaction.
|
protected abstract IsolationLevel |
TransactionManager.selectIsolationLevel(Transaction parent,
IsolationLevel level)
Returns supported isolation level, which may be higher.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Txn |
TransactionManager.createTxn(Txn parent,
IsolationLevel level)
Creates an internal transaction representation, with the optional parent
transaction.
|
protected Txn |
TransactionManager.createTxn(Txn parent,
IsolationLevel level,
int timeout,
java.util.concurrent.TimeUnit unit)
Creates an internal transaction representation, with the optional parent
transaction.
|
Transaction |
TransactionScope.enter(IsolationLevel level)
Enters a new transaction scope which becomes the active transaction.
|
Transaction |
TransactionScope.enterTop(IsolationLevel level)
Enters a new top-level transaction scope which becomes the active
transaction.
|
protected abstract IsolationLevel |
TransactionManager.selectIsolationLevel(Transaction parent,
IsolationLevel level)
Returns supported isolation level, which may be higher.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.