public class ImmediateBackgroundExecutor extends Object implements com.avaje.ebean.BackgroundExecutor
In the case of running tests usually you want the background task to bulkUpdate immediately or not at all.
| Constructor and Description |
|---|
ImmediateBackgroundExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable r) |
void |
executePeriodically(Runnable r,
long delay,
TimeUnit unit) |
public ImmediateBackgroundExecutor()
public void execute(Runnable r)
execute in interface com.avaje.ebean.BackgroundExecutorpublic void executePeriodically(Runnable r, long delay, TimeUnit unit)
executePeriodically in interface com.avaje.ebean.BackgroundExecutorCopyright © 2016. All rights reserved.