| Package | Description |
|---|---|
| org.apache.omid.transaction | |
| org.apache.omid.tso.client | |
| org.apache.omid.tso.util |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTransaction<T extends CellId>
Omid's base abstract implementation of the
Transaction interface. |
static interface |
AbstractTransactionManager.TransactionFactory<T extends CellId> |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTransactionManager.postBegin(AbstractTransaction<? extends CellId> transaction)
Allows transaction manager developers to perform actions after having started a transaction.
|
void |
AbstractTransactionManager.postCommit(AbstractTransaction<? extends CellId> transaction)
Allows transaction manager developers to perform actions after committing a transaction.
|
void |
AbstractTransactionManager.postRollback(AbstractTransaction<? extends CellId> transaction)
Allows transaction manager developers to perform actions after rolling-back a transaction.
|
void |
AbstractTransactionManager.preCommit(AbstractTransaction<? extends CellId> transaction)
Allows transaction manager developers to perform actions before committing a transaction.
|
void |
AbstractTransactionManager.preRollback(AbstractTransaction<? extends CellId> transaction)
Allows transaction manager developers to perform actions before rolling-back a transaction.
|
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Void> |
PostCommitActions.removeCommitTableEntry(AbstractTransaction<? extends CellId> transaction)
Allows specific implementations to remove the transaction entry from the commit table.
|
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Void> |
PostCommitActions.updateShadowCells(AbstractTransaction<? extends CellId> transaction)
Allows specific implementations to update the shadow cells.
|
| Constructor and Description |
|---|
AbstractTransactionManager(MetricsRegistry metrics,
PostCommitActions postCommitter,
TSOProtocol tsoClient,
CommitTable.Client commitTableClient,
CommitTable.Writer commitTableWriter,
AbstractTransactionManager.TransactionFactory<? extends CellId> transactionFactory)
Base constructor
|
| Modifier and Type | Method and Description |
|---|---|
TSOFuture<Long> |
TSOProtocol.commit(long transactionId,
Set<? extends CellId> writeSet)
Returns the result of the conflict detection made on the server-side for the specified transaction
|
TSOFuture<Long> |
TSOClient.commit(long transactionId,
Set<? extends CellId> cells) |
TSOFuture<Long> |
MockTSOClient.commit(long transactionId,
Set<? extends CellId> cells) |
TSOFuture<Long> |
TSOProtocol.commit(long transactionId,
Set<? extends CellId> writeSet,
Set<? extends CellId> conflictFreeWriteSet)
Returns the result of the conflict detection made on the server-side for the specified transaction
|
TSOFuture<Long> |
TSOProtocol.commit(long transactionId,
Set<? extends CellId> writeSet,
Set<? extends CellId> conflictFreeWriteSet)
Returns the result of the conflict detection made on the server-side for the specified transaction
|
TSOFuture<Long> |
TSOClient.commit(long transactionId,
Set<? extends CellId> cells,
Set<? extends CellId> conflictFreeWriteSet) |
TSOFuture<Long> |
TSOClient.commit(long transactionId,
Set<? extends CellId> cells,
Set<? extends CellId> conflictFreeWriteSet) |
TSOFuture<Long> |
MockTSOClient.commit(long transactionId,
Set<? extends CellId> cells,
Set<? extends CellId> conflictFreeWriteSet) |
TSOFuture<Long> |
MockTSOClient.commit(long transactionId,
Set<? extends CellId> cells,
Set<? extends CellId> conflictFreeWriteSet) |
| Modifier and Type | Class and Description |
|---|---|
class |
DummyCellIdImpl |
Copyright © 2011–2020 Apache Software Foundation. All rights reserved.