TransactionWorker (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

com.sleepycat.collections

## Interface TransactionWorker

-     public interface TransactionWorker

  The interface implemented to perform the work within a transaction. To run a transaction, an instance of this interface is passed to the `TransactionRunner.run(com.sleepycat.collections.TransactionWorker)` method.
  Author:
    Mark Hayes

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `doWork()` Perform the work for a single transaction.

- - ### Method Detail

    - #### doWork

          void doWork()
                      throws Exception

      Perform the work for a single transaction.
      Throws:
        `Exception`
      See Also:
        `TransactionRunner.run(com.sleepycat.collections.TransactionWorker)`

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.