com.arjuna.mw.wscf.model.sagas.common
Class TwoPhaseResult
java.lang.Object
com.arjuna.mw.wscf.model.sagas.common.TwoPhaseResult
public class TwoPhaseResult
- extends Object
The outcomes which can be generated when a two-phase coordinator
attempts to prepare/commit/rollback.
- Since:
- 1.0.
- Version:
- $Id: TwoPhaseResult.java,v 1.2 2004/03/15 13:25:03 nmcl Exp $
- Author:
- Mark Little (mark.little@arjuna.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREPARE_OK
public static final int PREPARE_OK
- See Also:
- Constant Field Values
PREPARE_NOTOK
public static final int PREPARE_NOTOK
- See Also:
- Constant Field Values
PREPARE_READONLY
public static final int PREPARE_READONLY
- See Also:
- Constant Field Values
HEURISTIC_CANCEL
public static final int HEURISTIC_CANCEL
- See Also:
- Constant Field Values
HEURISTIC_CONFIRM
public static final int HEURISTIC_CONFIRM
- See Also:
- Constant Field Values
HEURISTIC_MIXED
public static final int HEURISTIC_MIXED
- See Also:
- Constant Field Values
HEURISTIC_HAZARD
public static final int HEURISTIC_HAZARD
- See Also:
- Constant Field Values
FINISH_OK
public static final int FINISH_OK
- See Also:
- Constant Field Values
FINISH_ERROR
public static final int FINISH_ERROR
- See Also:
- Constant Field Values
NOT_PREPARED
public static final int NOT_PREPARED
- See Also:
- Constant Field Values
CANCELLED
public static final int CANCELLED
- See Also:
- Constant Field Values
CONFIRMED
public static final int CONFIRMED
- See Also:
- Constant Field Values
TwoPhaseResult
public TwoPhaseResult()
stringForm
public static String stringForm(int res)
- Returns:
- a human-readable version of the outcome.
Copyright © 2012. All Rights Reserved.