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 |
---|---|
Transaction |
Repository.enterTopTransaction(IsolationLevel level)
Causes the current thread to enter a top-level transaction scope
with an explict isolation level.
|
Transaction |
Repository.enterTransaction()
Causes the current thread to enter a transaction scope.
|
Transaction |
Repository.enterTransaction(IsolationLevel level)
Causes the current thread to enter a transaction scope with an explict
isolation level.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Trigger.beforeDelete(Transaction txn,
S storable)
Called before a storable is to be deleted.
|
java.lang.Object |
Trigger.beforeInsert(Transaction txn,
S storable)
Called before a storable is to be inserted.
|
java.lang.Object |
Trigger.beforeTryDelete(Transaction txn,
S storable)
Called before a storable is to be deleted via tryDelete.
|
java.lang.Object |
Trigger.beforeTryInsert(Transaction txn,
S storable)
Called before a storable is to be inserted via tryInsert.
|
java.lang.Object |
Trigger.beforeTryUpdate(Transaction txn,
S storable)
Called before a storable is to be updated via tryUpdate.
|
java.lang.Object |
Trigger.beforeUpdate(Transaction txn,
S storable)
Called before a storable is to be updated.
|
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 |
---|---|
Transaction |
AbstractRepository.enterTopTransaction(IsolationLevel level) |
Transaction |
AbstractRepository.enterTransaction() |
Transaction |
AbstractRepository.enterTransaction(IsolationLevel level) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
TriggerManager.beforeDelete(Transaction txn,
S storable) |
java.lang.Object |
TriggerManager.beforeInsert(Transaction txn,
S storable) |
java.lang.Object |
TriggerManager.beforeTryDelete(Transaction txn,
S storable) |
java.lang.Object |
TriggerManager.beforeTryInsert(Transaction txn,
S storable) |
java.lang.Object |
TriggerManager.beforeTryUpdate(Transaction txn,
S storable) |
java.lang.Object |
TriggerManager.beforeUpdate(Transaction txn,
S storable) |
Modifier and Type | Class and Description |
---|---|
class |
TransactionPair
Pairs two transaction together into one.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionMonitor.entered(Transaction entered,
Transaction parent)
Called by a thread which has just entered a transaction.
|
void |
TransactionMonitor.exited(Transaction exited,
Transaction active)
Called by a thread which has just exited a transaction.
|
protected abstract IsolationLevel |
TransactionManager.selectIsolationLevel(Transaction parent,
IsolationLevel level)
Returns supported isolation level, which may be higher.
|
Constructor and Description |
---|
TransactionPair(Transaction primaryTransaction,
Transaction secondaryTransaction) |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.