public class GAEJavaScriptExecutor extends DefaultJavaScriptExecutor
| Constructor and Description |
|---|
GAEJavaScriptExecutor(WebClient webClient)
Creates an EventLoop for the webClient.
|
| Modifier and Type | Method and Description |
|---|---|
int |
pumpEventLoop(long timeoutMillis)
Executes the jobs in the eventLoop till timeoutMillis expires or the eventLoop becomes empty.
|
protected void |
startThreadIfNeeded()
Starts the eventLoopThread_.
|
addWindow, getJobManagerWithEarliestJob, getThreadName, run, shutdownpublic GAEJavaScriptExecutor(WebClient webClient)
webClient - the provided webClientprotected void startThreadIfNeeded()
startThreadIfNeeded in class DefaultJavaScriptExecutorpublic int pumpEventLoop(long timeoutMillis)
pumpEventLoop in interface JavaScriptExecutorpumpEventLoop in class DefaultJavaScriptExecutortimeoutMillis - the timeout in millisecondsCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.