public class ConnectRetryable extends Object
| Constructor and Description |
|---|
ConnectRetryable(org.jodconverter.office.OfficeConnection connection)
Creates a new instance of the class for the specified connection.
|
ConnectRetryable(org.jodconverter.office.OfficeProcess process,
org.jodconverter.office.OfficeConnection connection)
Creates a new instance of the class for the specified process and connection.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attempt() |
void |
execute(long arg0,
long arg1) |
void |
execute(long arg0,
long arg1,
long arg2) |
public ConnectRetryable(org.jodconverter.office.OfficeConnection connection)
connection - The office connection to connect.public ConnectRetryable(org.jodconverter.office.OfficeProcess process,
org.jodconverter.office.OfficeConnection connection)
process - The office process whose exit code is to be retrieved.connection - The office connection to connect.protected void attempt()
throws org.jodconverter.office.TemporaryException,
org.jodconverter.office.OfficeException
org.jodconverter.office.TemporaryExceptionorg.jodconverter.office.OfficeExceptionpublic void execute(long arg0,
long arg1)
throws org.jodconverter.office.RetryTimeoutException,
T extends Throwable
org.jodconverter.office.RetryTimeoutExceptionT extends Throwable