Package | Description |
---|---|
org.needle4j.db.transaction |
Modifier and Type | Class and Description |
---|---|
class |
VoidRunnable
Default implementation of
Runnable . |
Modifier and Type | Method and Description |
---|---|
<T> T |
TransactionHelper.executeInTransaction(Runnable<T> runnable)
see executeInTransaction(runnable, clearAfterCommit) .
|
<T> T |
TransactionHelper.executeInTransaction(Runnable<T> runnable,
boolean clearAfterCommit)
Encapsulates execution of runnable.run() in transactions.
|
Copyright © 2014. All rights reserved.