Package com.swiftmq.impl.xa.standard
Class HeuristicHandler
EntityChangeAdapter
com.swiftmq.impl.xa.standard.HeuristicHandler
public class HeuristicHandler
extends EntityChangeAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHeuristic(XidImpl xid, boolean commit) voidclose()voidentityAdded(Entity parent, Entity newEntity) voidentityRemoved(Entity entity, Entity entity1) getXids()booleanhasHeuristic(XidImpl xid) voidvoidonEntityRemove(Entity parent, Entity oldEntity) voidremoveHeuristic(XidImpl xid) toString()booleanwasCommit(XidImpl xid)
-
Constructor Details
-
HeuristicHandler
-
-
Method Details
-
removeHeuristic
- Throws:
Exception
-
hasHeuristic
public boolean hasHeuristic(XidImpl xid) -
wasCommit
public boolean wasCommit(XidImpl xid) -
getXids
-
addHeuristic
- Throws:
Exception
-
loadHeuristics
- 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
-