public class Decoder extends Object
| Constructor and Description |
|---|
Decoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
collectResourcesNames(Collection<XAResourceHolderState> resources)
Create a String representation of a list of
XAResourceHolders. |
static String |
decodeHeaderState(byte state) |
static String |
decodePrepareVote(int vote) |
static String |
decodeStatus(int status) |
static String |
decodeXAExceptionErrorCode(XAException ex) |
static String |
decodeXAResourceFlag(int flag) |
public static String decodeXAExceptionErrorCode(XAException ex)
public static String decodeStatus(int status)
public static String decodeXAResourceFlag(int flag)
public static String decodePrepareVote(int vote)
public static String decodeHeaderState(byte state)
public static String collectResourcesNames(Collection<XAResourceHolderState> resources)
XAResourceHolders. This
String will contain each resource's unique name.resources - a list of XAResourceHolders.Copyright © 2006-2016 Bitronix Software. All Rights Reserved.