public class ExitCodeRetryable extends AbstractRetryable
| Constructor and Description |
|---|
ExitCodeRetryable(Expense process)
为指定的进程创建类的新实例.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attempt()
尝试执行任务一次.
|
int |
getExitCode()
进程的退出码.
|
executepublic ExitCodeRetryable(Expense process)
process - 要检索其退出码的进程.protected void attempt()
throws InstrumentException
AbstractRetryableattempt in class AbstractRetryableInstrumentExceptionpublic int getExitCode()
Copyright © 2019. All rights reserved.