com.atomikos.datasource
Interface ResourceTransaction


public interface ResourceTransaction

The notion of a local transaction executed on a resource. Serves as a handle towards the transaction management module.


Method Summary
 void resume()
          Resumes a previously suspended tx.
 void suspend()
          Suspends the work, so that underlying resources can be used for a next (sibling) invocation.
 

Method Detail

suspend

void suspend()
             throws java.lang.IllegalStateException,
                    ResourceException
Suspends the work, so that underlying resources can be used for a next (sibling) invocation.

Throws:
java.lang.IllegalStateException
ResourceException

resume

void resume()
            throws java.lang.IllegalStateException,
                   ResourceException
Resumes a previously suspended tx.

Throws:
java.lang.IllegalStateException
ResourceException


Copyright © 2016. All Rights Reserved.