Uses of Interface
jdk.jshell.spi.ExecutionControl
Packages that use ExecutionControl
包
描述
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
-
Uses of ExecutionControl in jdk.jshell.execution
Classes in jdk.jshell.execution that implement ExecutionControl修饰符和类Class描述classAnExecutionControlimplementation that runs in the current process.classThe implementation ofExecutionControlthat the JShell-core uses by default.classAbstract JDI implementation ofExecutionControl.classAn implementation ofExecutionControlwhich executes in the same JVM as the JShell-core.classThe remote agent runs in the execution process (separate from the main JShell process).classAn implementation of theExecutionControlexecution engine SPI which streams requests to a remote agent where execution takes place.Methods in jdk.jshell.execution that return ExecutionControl修饰符和类方法描述FailOverExecutionControlProvider.generate(ExecutionEnv env, Map<String, String> parameters) Create and return a locally executingExecutionControlinstance.JdiExecutionControlProvider.generate(ExecutionEnv env, Map<String, String> parameters) LocalExecutionControlProvider.generate(ExecutionEnv env, Map<String, String> parameters) Create and return a locally executingExecutionControlinstance.static ExecutionControlUtil.remoteInputOutput(InputStream input, OutputStream output, Map<String, OutputStream> outputStreamMap, Map<String, InputStream> inputStreamMap, BiFunction<ObjectInput, ObjectOutput, ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output.Methods in jdk.jshell.execution with parameters of type ExecutionControl修饰符和类方法描述static voidUtil.forwardExecutionControl(ExecutionControl ec, ObjectInput in, ObjectOutput out) Forward commands from the input to the specifiedExecutionControlinstance, then responses back on the output.static voidUtil.forwardExecutionControlAndIO(ExecutionControl ec, InputStream inStream, OutputStream outStream, Map<String, Consumer<OutputStream>> outputStreamMap, Map<String, Consumer<InputStream>> inputStreamMap) Forward commands from the input to the specifiedExecutionControlinstance, then responses back on the output.Method parameters in jdk.jshell.execution with type arguments of type ExecutionControl修饰符和类方法描述static ExecutionControlUtil.remoteInputOutput(InputStream input, OutputStream output, Map<String, OutputStream> outputStreamMap, Map<String, InputStream> inputStreamMap, BiFunction<ObjectInput, ObjectOutput, ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output. -
Uses of ExecutionControl in jdk.jshell.spi
Methods in jdk.jshell.spi that return ExecutionControl修饰符和类方法描述static ExecutionControlExecutionControl.generate(ExecutionEnv env, String spec) Search for a provider, then create and return theExecutionControlinstance.static ExecutionControlSearch for a provider, then create and return theExecutionControlinstance.ExecutionControlProvider.generate(ExecutionEnv env, Map<String, String> parameters) Create and return theExecutionControlinstance.