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, shutdown
public GAEJavaScriptExecutor(WebClient webClient)
webClient
- the provided webClientprotected void startThreadIfNeeded()
startThreadIfNeeded
in class DefaultJavaScriptExecutor
public int pumpEventLoop(long timeoutMillis)
pumpEventLoop
in interface JavaScriptExecutor
pumpEventLoop
in class DefaultJavaScriptExecutor
timeoutMillis
- the timeout in millisecondsCopyright © 2002–2017 Gargoyle Software Inc.. All rights reserved.