Class CpoXaStateMap<T>

java.lang.Object
org.synchronoss.cpo.core.jta.CpoXaStateMap<T>
Type Parameters:
T - the type of the underlying resource tracked by the held CpoXaState entries

public class CpoXaStateMap<T> extends Object
Simple holder for a Xid-to-CpoXaState map, one per family of XA resources.
Author:
dberry
  • Constructor Details

    • CpoXaStateMap

      public CpoXaStateMap()
      Constructs an empty state map.
  • Method Details

    • getXidStateMap

      public HashMap<Xid,CpoXaState<T>> getXidStateMap()
      Gets the map of all transaction branches currently tracked.
      Returns:
      the map of all transaction branches currently tracked, keyed by Xid