public interface IsolationDelegate
| Modifier and Type | Method and Description |
|---|---|
<T> T |
delegateCallable(Callable<T> callable,
boolean transacted)
Invoke the given callable in isolation from current transaction.
|
<T> T |
delegateWork(WorkExecutorVisitable<T> work,
boolean transacted)
Perform the given work in isolation from current transaction.
|
<T> T delegateWork(WorkExecutorVisitable<T> work, boolean transacted) throws HibernateException
work - The work to be performed.transacted - Should the work itself be done in a (isolated) transaction?HibernateException - Indicates a problem performing the work.<T> T delegateCallable(Callable<T> callable, boolean transacted) throws HibernateException
callable - The callable to be invoked.transacted - Should the work itself be done in a (isolated) transaction?HibernateException - Indicates a problem performing the work.Copyright © 2017 JBoss by Red Hat. All rights reserved.