com.atomikos.icatch
Interface Synchronization

All Superinterfaces:
java.io.Serializable

public interface Synchronization
extends java.io.Serializable

A synchronization inferface for transaction termination callbacks. Instances are volatile, i.e. not recovered after a crash/restart.


Method Summary
 void afterCompletion(TxState txstate)
          Called after the overall outcome is known.
 void beforeCompletion()
          Called before prepare decision is made.
 

Method Detail

beforeCompletion

void beforeCompletion()
Called before prepare decision is made.


afterCompletion

void afterCompletion(TxState txstate)
Called after the overall outcome is known.

Parameters:
txstate - The state of the coordinator after preparing. Equals either null ( readonly ), TxState.COMMITTING or TxState.ABORTING.


Copyright © 2016. All Rights Reserved.