public abstract class AsyncAutomationClient extends AbstractAutomationClient
Constructor and Description |
---|
AsyncAutomationClient(String url)
Instantiates a new asynchronous automation client with the default timeout for the wait of the asynchronous
thread pool termination: 2 seconds.
|
AsyncAutomationClient(String url,
ExecutorService executor)
Instantiates a new asynchronous automation client with the given asynchronous executor and the default timeout
for the wait of the asynchronous thread pool termination: 2 seconds.
|
AsyncAutomationClient(String url,
ExecutorService executor,
long asyncAwaitTerminationTimeout)
Instantiates a new asynchronous automation client with the given asynchronous executor and the given timeout in
milliseconds for the wait of the asynchronous thread pool termination.
|
AsyncAutomationClient(String url,
long asyncAwaitTerminationTimeout)
Instantiates a new asynchronous automation client with the given timeout in milliseconds for the wait of the
asynchronous thread pool termination.
|
Modifier and Type | Method and Description |
---|---|
void |
asyncExec(Runnable runnable) |
void |
shutdown()
Cleanup any resources held by this client.
|
getAdapter, getBaseUrl, getRequestInterceptor, getSession, getSession, getSession, getSession, getSession, registerAdapter, registerPojoMarshaller, setBasicAuth, setRequestInterceptor, setSharedRegistryExpirationDelay
public AsyncAutomationClient(String url)
public AsyncAutomationClient(String url, ExecutorService executor)
public AsyncAutomationClient(String url, long asyncAwaitTerminationTimeout)
public AsyncAutomationClient(String url, ExecutorService executor, long asyncAwaitTerminationTimeout)
public void asyncExec(Runnable runnable)
asyncExec
in class AbstractAutomationClient
public void shutdown()
AutomationClient
shutdown
in interface AutomationClient
shutdown
in class AbstractAutomationClient
Copyright © 2015 Nuxeo SA. All rights reserved.