protected static enum IteratingCallback.Action extends Enum<IteratingCallback.Action>
IteratingCallback.process() must return.| 枚举常量和说明 |
|---|
IDLE
Indicates that
IteratingCallback.process() has no more work to do, but the
overall job is not completed yet, probably waiting for additional
events to trigger more work. |
SCHEDULED
Indicates that
IteratingCallback.process() is executing asynchronously a sub
task, where the execution has started but the callback may have not
yet been invoked. |
SUCCEEDED
Indicates that
IteratingCallback.process() has completed the overall job. |
public static final IteratingCallback.Action IDLE
IteratingCallback.process() has no more work to do, but the
overall job is not completed yet, probably waiting for additional
events to trigger more work.public static final IteratingCallback.Action SCHEDULED
IteratingCallback.process() is executing asynchronously a sub
task, where the execution has started but the callback may have not
yet been invoked.public static final IteratingCallback.Action SUCCEEDED
IteratingCallback.process() has completed the overall job.public static IteratingCallback.Action[] values()
for (IteratingCallback.Action c : IteratingCallback.Action.values()) System.out.println(c);
public static IteratingCallback.Action valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2016. All rights reserved.