|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 必需 | 可选 | 详细信息: 元素 | |||||||||
@Documented @Inherited @Target(value=TYPE) @Retention(value=RUNTIME) public @interface ComputableMonitor
Master and Worker computable maximal time out setting. If ComputableMonitor is attached with master or worker
computable function, null will return if over time out setting. Worker result should be checked by null in
MasterContext or master result should be checked by null in WorkerContext.
Please check this example:
| 可选元素摘要 | |
|---|---|
long |
duration
Number of time units after which the execution should be halted and default returned. |
TimeUnit |
timeUnit
Time Units in which to measure timeout value. |
public abstract TimeUnit timeUnit
public abstract long duration
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 必需 | 可选 | 详细信息: 元素 | |||||||||