Name
Xid
Synopsis
An Xid
is an identifier for a transaction. This interface is used by
transaction managers and resource managers as the representation for
transactions. The methods on the interface allow these two entities to
query for specific components of the transaction identifier.
public interface Xid { // Public Constants public static final int MAXBQUALSIZE; // =64 public static final int MAXGTRIDSIZE; // =64 // Public Instance Methods public abstract byte[] getBranchQualifier(); public abstract int getFormatId(); public abstract byte[] getGlobalTransactionId(); }
Passed To
XAResource.{commit()
, end()
, forget()
, prepare()
, rollback()
, start()}
Returned By
XAResource.recover()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.