Berkeley DB Java Edition
version 1.5.1

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
 void doWork()
          Perform the work for a single transaction.
 

Method Detail

doWork

public void doWork()
            throws Exception
Perform the work for a single transaction.

Exception
See Also:
TransactionRunner.run(com.sleepycat.collections.TransactionWorker)

Berkeley DB Java Edition
version 1.5.1

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.