Package com.swiftmq.impl.xa.standard
Class HeuristicHandler
java.lang.Object
EntityChangeAdapter
com.swiftmq.impl.xa.standard.HeuristicHandler
public class HeuristicHandler
extends EntityChangeAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHeuristic
(XidImpl xid, boolean commit) void
close()
void
entityAdded
(Entity parent, Entity newEntity) void
entityRemoved
(Entity entity, Entity entity1) getXids()
boolean
hasHeuristic
(XidImpl xid) void
void
onEntityRemove
(Entity parent, Entity oldEntity) void
removeHeuristic
(XidImpl xid) toString()
boolean
wasCommit
(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
-