JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Class FailOverExecutionControlProvider
Method Summary
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Detail
defaultParameters
public Map <String ,String > defaultParameters()
Create and return the default parameter map for this
ExecutionControlProvider
. There are ten parameters, "0" through
"9", their values are ExecutionControlProvider
specification
strings, or empty string.
Specified by:
defaultParameters
in interface ExecutionControlProvider
Returns:
a default parameter map
generate
public ExecutionControl generate(ExecutionEnv env,
Map <String ,String > parameters)
throws Throwable
Create and return a locally executing ExecutionControl
instance.
At least one parameter should have a spec.
Specified by:
generate
in interface ExecutionControlProvider
Parameters:
env
- the execution environment, provided by JShell
parameters
- the modified parameter map.
Returns:
the execution engine
Throws:
Throwable
- if all the given providers fail, the exception that
occurred on the first attempt to create the execution engine.
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.