public class ConnectRetryable extends AbstractRetryable
| Constructor and Description |
|---|
ConnectRetryable(LocalOfficeBridgeFactory localOffice)
为指定的连接创建类的新实例.
|
ConnectRetryable(OfficeProcess process,
LocalOfficeBridgeFactory localOffice)
为指定的进程和连接创建类的新实例.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attempt()
尝试执行任务一次.
|
executepublic ConnectRetryable(LocalOfficeBridgeFactory localOffice)
localOffice - 要连接的office.public ConnectRetryable(OfficeProcess process, LocalOfficeBridgeFactory localOffice)
process - 要检索其退出码的office进程.localOffice - 要连接的office.protected void attempt()
throws InstrumentException
AbstractRetryableattempt in class AbstractRetryableInstrumentExceptionCopyright © 2020. All rights reserved.