public class TxCallback extends java.lang.Object implements ExecutedCallback
Modifier | Constructor and Description |
---|---|
protected |
TxCallback(GigaPaxosClient<Request> gpClient) |
Modifier and Type | Method and Description |
---|---|
void |
executed(Request request,
boolean handled)
Default callback for transaction operations at an active replica.
|
void |
txTryFinish(Transaction tx,
java.lang.String participant)
This method is invoked at a participant group to check on the status of
the transaction and complete the local abort or commit steps if
necessary.
|
protected TxCallback(GigaPaxosClient<Request> gpClient)
public void txTryFinish(Transaction tx, java.lang.String participant) throws java.io.IOException
tx
- participant
- java.io.IOException
public void executed(Request request, boolean handled)
executed
in interface ExecutedCallback