ExecutionControlProviderpublic class FailOverExecutionControlProvider extends Object implements ExecutionControlProvider
| Constructor | Description |
|---|---|
FailOverExecutionControlProvider() |
Create an instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
Map<String,String> |
defaultParameters() |
Create and return the default parameter map for this
ExecutionControlProvider. |
ExecutionControl |
generate(ExecutionEnv env,
Map<String,String> parameters) |
Create and return a locally executing
ExecutionControl instance. |
String |
name() |
The unique name of this
ExecutionControlProvider. |
public FailOverExecutionControlProvider()
ExecutionControl instance by attempting to start a series of
ExecutionControl specs, until one is successful.public String name()
ExecutionControlProvider.name in interface ExecutionControlProviderpublic Map<String,String> defaultParameters()
ExecutionControlProvider. There are ten parameters, "0" through
"9", their values are ExecutionControlProvider specification
strings, or empty string.defaultParameters in interface ExecutionControlProviderpublic ExecutionControl generate(ExecutionEnv env, Map<String,String> parameters) throws Throwable
ExecutionControl instance.
At least one parameter should have a spec.generate in interface ExecutionControlProviderenv - the execution environment, provided by JShellparameters - the modified parameter map.Throwable - if all the given providers fail, the exception that
occurred on the first attempt to create the execution engine. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1