Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atomikos.icatch
Interface Synchronization

All Superinterfaces:
  Serializable

All Known Implementing Classes:
  ExclusiveExternalXAPooledConnectionImp, TransactionScopedAddressMapEntry

    public interface Synchronization

extends Serializable

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

Method Summary
`void` | `afterCompletion(Object 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(Object 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.