com.atomikos.icatch.imp.CommitCallback Maven / Gradle / Ivy
package com.atomikos.icatch.imp;
import com.atomikos.icatch.HeurHazardException;
import com.atomikos.icatch.HeurMixedException;
import com.atomikos.icatch.HeurRollbackException;
import com.atomikos.icatch.HeuristicMessage;
import com.atomikos.icatch.RollbackException;
import com.atomikos.icatch.SysException;
/**
* Callback interface for logic inside the commit template.
*/
interface CommitCallback {
public HeuristicMessage[] doCommit() throws HeurRollbackException, HeurMixedException,
HeurHazardException, java.lang.IllegalStateException,
RollbackException, SysException;
}