use of org.dbflute.helper.function.IndependentProcessor in project lastaflute by lastaflute.
the class LazyUserTransaction method beginRealTransactionLazily.
public static void beginRealTransactionLazily() {
final String lazyKey = generateLazyProcessListKey();
final List<IndependentProcessor> lazyList = ThreadCacheContext.getObject(lazyKey);
if (lazyList != null) {
markLazyRealBegun();
for (IndependentProcessor processor : lazyList) {
// with logging
processor.process();
}
ThreadCacheContext.removeObject(lazyKey);
}
}
Aggregations