- java.lang.Object
-
- jdk.jshell.execution.StreamingExecutionControl
-
- jdk.jshell.execution.JdiExecutionControl
-
- jdk.jshell.execution.JdiDefaultExecutionControl
-
- すべての実装されたインタフェース:
AutoCloseable,ExecutionControl
public class JdiDefaultExecutionControl extends JdiExecutionControl
JShellコアがデフォルトで使用するExecutionControlの実装。 リモート・プロセス(リモート・エージェント)を起動します。 ソケットおよびJDIを介したリモート・エージェントへのインタフェース。RemoteExecutionControlと連携するように設計されています。- 導入されたバージョン:
- 9
-
-
ネストされたクラスのサマリー
-
インタフェースjdk.jshell.spiで宣言されたネストされたクラス/インタフェース。ExecutionControl
ExecutionControl.ClassBytecodes, ExecutionControl.ClassInstallException, ExecutionControl.EngineTerminationException, ExecutionControl.ExecutionControlException, ExecutionControl.InternalException, ExecutionControl.NotImplementedException, ExecutionControl.ResolutionException, ExecutionControl.RunException, ExecutionControl.StoppedException, ExecutionControl.UserException
-
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 voidstop()リモート変数を操作し、JDI経由で停止を送信することで、実行中のリモート呼出しを中断します。-
クラスjdk.jshell.executionで宣言されたメソッド。JdiExecutionControl
redefine, referenceType, vm
-
クラスjdk.jshell.executionで宣言されたメソッド。StreamingExecutionControl
close
-
クラスjava.langで宣言されたメソッド。オブジェクト
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
インタフェースjdk.jshell.spiで宣言されたメソッド。ExecutionControl
addToClasspath, close, extensionCommand, invoke, load, varValue
-
-
-
-
メソッドの詳細
-
stop
public void stop() throws ExecutionControl.EngineTerminationException, ExecutionControl.InternalExceptionリモート変数を操作し、JDI経由で停止を送信することで、実行中のリモート呼出しを中断します。- 例外:
ExecutionControl.EngineTerminationException- 実行エンジンが終了しましたExecutionControl.InternalException- 内部問題が発生しました
-
-