public class LazyExecutionManager
extends java.lang.Object
构造器和说明 |
---|
LazyExecutionManager() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addJob(LazyExecutionJob lazyExecutionJob)
添加一个延迟初始化事件
|
static void |
addJob(LazyExecutionJob lazyExecutionJob,
LazyExecutionCondition condition)
添加一个延迟初始化事件
|
static void |
executeJobQueue()
开始初始化
|
public static void addJob(LazyExecutionJob lazyExecutionJob)
lazyExecutionJob
- 执行事件public static void addJob(LazyExecutionJob lazyExecutionJob, LazyExecutionCondition condition)
condition
- 延迟执行的条件lazyExecutionJob
- 执行事件public static void executeJobQueue() throws LazyExecutionException
LazyExecutionException
- 初始化失败则抛出此异常