|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionLogger
Simple interface used to provide a log about transaction status. Written to by the client, and read by regionservers in case of failure.
Nested Class Summary | |
---|---|
static class |
TransactionLogger.TransactionStatus
Transaction status values |
Method Summary | |
---|---|
long |
createNewTransactionLog()
Create a new transaction log. |
void |
forgetTransaction(long transactionId)
This transaction's state is no longer needed. |
TransactionLogger.TransactionStatus |
getStatusForTransaction(long transactionId)
Get the status of a transaction. |
void |
setStatusForTransaction(long transactionId,
TransactionLogger.TransactionStatus status)
Set the status for a transaction. |
Method Detail |
---|
long createNewTransactionLog()
TransactionLogger.TransactionStatus getStatusForTransaction(long transactionId)
transactionId
-
void setStatusForTransaction(long transactionId, TransactionLogger.TransactionStatus status)
transactionId
- status
- void forgetTransaction(long transactionId)
transactionId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |