| Package | Description |
|---|---|
| org.apache.tephra |
This package contains implementations of the transaction system v2.
|
| org.apache.tephra.hbase | |
| org.apache.tephra.visibility |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTransactionAwareTable
Base class for all the common parts of the HBase version-specific
TransactionAwareHTable
implementations. |
| Modifier and Type | Method and Description |
|---|---|
static TransactionAware |
TransactionAwares.of(Collection<TransactionAware> transactionAwares)
Create composite transaction aware object that delegates transaction logic to given collection of
TransactionAwares |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TransactionContext.addTransactionAware(TransactionAware txAware)
Adds a new transaction-aware to participate in the transaction.
|
boolean |
TransactionContext.removeTransactionAware(TransactionAware txAware)
Removes a
TransactionAware and withdraws from participation in the transaction. |
| Modifier and Type | Method and Description |
|---|---|
TransactionExecutor |
TransactionExecutorFactory.createExecutor(Iterable<TransactionAware> txAwares) |
static TransactionAware |
TransactionAwares.of(Collection<TransactionAware> transactionAwares)
Create composite transaction aware object that delegates transaction logic to given collection of
TransactionAwares |
| Constructor and Description |
|---|
DefaultTransactionExecutor(TransactionSystemClient txClient,
TransactionAware... txAwares)
Convenience constructor, has same affect as
DefaultTransactionExecutor.DefaultTransactionExecutor(TransactionSystemClient, Iterable) |
TransactionContext(TransactionSystemClient txClient,
TransactionAware... txAwares) |
| Constructor and Description |
|---|
DefaultTransactionExecutor(TransactionSystemClient txClient,
Iterable<TransactionAware> txAwares)
Constructor for a transaction executor.
|
DefaultTransactionExecutor(TransactionSystemClient txClient,
Iterable<TransactionAware> txAwares,
RetryStrategy retryStrategy) |
TransactionContext(TransactionSystemClient txClient,
Iterable<TransactionAware> txAwares) |
| Modifier and Type | Class and Description |
|---|---|
class |
TransactionAwareHTable
A Transaction Aware HTable implementation for HBase 0.96.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionAware |
VisibilityFence.create(byte[] fenceId)
Used by a reader to get a fence that can be added to its transaction context.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.