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 RecoveryService

All Known Implementing Classes:
  TransactionServiceImp

    public interface RecoveryService

A handle to the TM that resources can use to recover.

Method Summary
`String` | `getName()`
`void` | `recover()` Asks the TM to recover.

Method Detail

### recover

    void recover()

  Asks the TM to recover. Resources should call this method whenever recovery is needed. The earliest time at which resources can call this method is when setRecoveryService is called on the resource. Note: resources that are registered before the TM starts up will not need to call this method. On the other hand, resources that are registered when the transaction service is already running should use this method to trigger recovery. It is up to the implementation of the resource to determine whether this is desirable.

### getName

    String getName()

  Returns:
    String The unique name of the TM. Resources can use this name to determine what resource transactions need to be considered for recovery by this transaction service.

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.