public class JSCJavaScriptExecutorFactory extends java.lang.Object implements JavaScriptExecutorFactory
| Constructor and Description |
|---|
JSCJavaScriptExecutorFactory(java.lang.String appName,
java.lang.String deviceName) |
| Modifier and Type | Method and Description |
|---|---|
JavaScriptExecutor |
create() |
void |
startSamplingProfiler()
Starts the sampling profiler for this specific JavaScriptExecutor Sampling profiler is usually
a singleton on the runtime, hence the method exists here and not in
JavaScriptExecutor |
void |
stopSamplingProfiler(java.lang.String filename)
Stops the Sampling profile
|
java.lang.String |
toString() |
public JSCJavaScriptExecutorFactory(java.lang.String appName,
java.lang.String deviceName)
public JavaScriptExecutor create() throws java.lang.Exception
create in interface JavaScriptExecutorFactoryjava.lang.Exceptionpublic void startSamplingProfiler()
JavaScriptExecutorFactoryJavaScriptExecutorstartSamplingProfiler in interface JavaScriptExecutorFactorypublic void stopSamplingProfiler(java.lang.String filename)
JavaScriptExecutorFactorystopSamplingProfiler in interface JavaScriptExecutorFactoryfilename - The filename where the results of the sampling profiler are dumped topublic java.lang.String toString()
toString in class java.lang.Object