|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.client.transactional.TransactionManager
public class TransactionManager
Transaction Manager. Responsible for committing transactions.
| Constructor Summary | |
|---|---|
TransactionManager(HBaseConfiguration conf)
|
|
TransactionManager(TransactionLogger transactionLogger,
HBaseConfiguration conf)
|
|
| Method Summary | |
|---|---|
void |
abort(TransactionState transactionState)
Abort a s transaction. |
TransactionState |
beginTransaction()
Called to start a transaction. |
void |
tryCommit(TransactionState transactionState)
Try and commit a transaction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionManager(HBaseConfiguration conf)
conf -
public TransactionManager(TransactionLogger transactionLogger,
HBaseConfiguration conf)
transactionLogger - conf - | Method Detail |
|---|
public TransactionState beginTransaction()
public void tryCommit(TransactionState transactionState)
throws CommitUnsuccessfulException,
IOException
transactionState -
IOException
CommitUnsuccessfulException
public void abort(TransactionState transactionState)
throws IOException
transactionState -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||