public class SimpleAsyncCmisExecutor extends Object implements AsyncCmisExecutor
AsyncCmisExecutor implementation that uses a
ThreadPoolExecutor for executing asynchronous CMIS requests.| Constructor and Description |
|---|
SimpleAsyncCmisExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Waits until all running threads are stopped.
|
void |
execute(javax.servlet.AsyncContext asyncContext,
Runnable runable)
Executes a CMIS request.
|
long |
getTimeout()
Gets the timeout for the AsyncContext.
|
void |
setTimeout(long timeout)
Sets the timeout for the AsyncContext.
|
public void destroy()
public long getTimeout()
public void setTimeout(long timeout)
timeout - the timeout in millisecondsAsyncContext.setTimeout(long)public void execute(javax.servlet.AsyncContext asyncContext,
Runnable runable)
AsyncCmisExecutorexecute in interface AsyncCmisExecutorasyncContext - the AsyncContext objectrunable - the Runnable that executes the requestCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.