Class HeuristicHandler

java.lang.Object
EntityChangeAdapter
com.swiftmq.impl.xa.standard.HeuristicHandler

public class HeuristicHandler extends EntityChangeAdapter
  • Constructor Details

  • Method Details

    • removeHeuristic

      public void removeHeuristic(XidImpl xid) throws Exception
      Throws:
      Exception
    • hasHeuristic

      public boolean hasHeuristic(XidImpl xid)
    • wasCommit

      public boolean wasCommit(XidImpl xid)
    • getXids

      public List getXids()
    • addHeuristic

      public void addHeuristic(XidImpl xid, boolean commit) throws Exception
      Throws:
      Exception
    • loadHeuristics

      public void loadHeuristics() throws Exception
      Throws:
      Exception
    • entityAdded

      public void entityAdded(Entity parent, Entity newEntity)
    • entityRemoved

      public void entityRemoved(Entity entity, Entity entity1)
    • onEntityRemove

      public void onEntityRemove(Entity parent, Entity oldEntity) throws EntityRemoveException
      Throws:
      EntityRemoveException
    • close

      public void close()
    • toString

      public String toString()