public interface TransactionWorker
TransactionRunner.run(com.sleepycat.collections.TransactionWorker)
method.Modifier and Type | Method | Description |
---|---|---|
void |
doWork() |
Perform the work for a single transaction.
|
void doWork() throws java.lang.Exception
java.lang.Exception
- the exception to be thrown to the caller of
TransactionRunner.run(TransactionWorker)
. The exception will
first be unwrapped by calling ExceptionUnwrapper.unwrap(java.lang.Exception)
, and the
transaction will be aborted.TransactionRunner.run(com.sleepycat.collections.TransactionWorker)
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.