Package com.iizix.txp
Interface ITXPManagementAPI
public interface ITXPManagementAPI
TXP Management interface NOTE: UNDER DESIGN!!
- Author:
- Freggle
- Method SummaryModifier and TypeMethodDescription- getManagementInfo- (ITXPid pid) Gets the management info of the specified process.Gets the management info of all unfixed completed processes.- voidMarks a process fixed specifying the fixing process.- voidMarks a process for manual fixing only.- void- retry- (ITXPManagementInfo info) Retries the whole process.- voidRetries only the failed nodes in a process.- void- retrySingleNode- (ITXPManagementInfo info, ITXPid pid) Retries only a single node.
- Method Details- getManagementInfoGets the management info of the specified process.- Parameters:
- pid- the Pid of the process
- Returns:
- the management info of the process
 
- getUnfixedCompletedProcessesList<ITXPManagementInfo> getUnfixedCompletedProcesses()Gets the management info of all unfixed completed processes. Those are processes that finished in a heuristic mixed state.- Returns:
- a list with the info of all unfixed processes
 
- retryRetries the whole process. Note that this can only be done if the succeeded nodes are idempotent or undone and the resources managed by the failed nodes are back in the state before they were associated or are idempotent. If successful the original process should be marked fixed with the Pid of the retry process.- Parameters:
- info- the info for the process to retry
 
- retryAllFailedRetries only the failed nodes in a process. Note that failed means their commit or rollback failed. This can only be done if the the resources managed by the failed nodes are back in the state before they were associated or are idempotent. If successful the original process should be marked fixed with the Pid of the retry process.- Parameters:
- info- the info for the process to retry
 
- retrySingleNodeRetries only a single node. Note that failed means its commit or rollback failed. This can only be done if the the resources managed by the failed node are back in the state before it was associated or the node is idempotent idempotent. If successful the original process should be marked fixed with the Pid of the retry process.- Parameters:
- info- the info for the process to retry
- pid- the Pid of the node to retry
 
- markFixedMarks a process fixed specifying the fixing process.- Parameters:
- originalPid- the original process
- fixingPid- the fixing process
 
- markForManualFixOnlyMarks a process for manual fixing only.- Parameters:
- pid- Pid of the process to mark