public interface VMDeathRequest extends EventRequest
VMDeathEvent
を含む event set
が EventQueue
に置かれます。既存の VMDeathRequest のコレクションは、EventRequestManager
によって管理されます。
VMDeathRequest を作成しない場合でも、SUSPEND_NONE
の suspend policy
とともに非要請 VMDeathEvent が 1 つ送信されます。この要求は通常、SUSPEND_ALL
中断ポリシーによって VMDeathEvent を送るために作成されます。このイベントは、VM が稼動していることが必要な処理 (イベント処理など) の完了を確認するために利用できます。注:その場合も、非要請 VMDeathEvent は送られます。
VMDeathEvent
, EventQueue
, EventRequestManager
SUSPEND_ALL, SUSPEND_EVENT_THREAD, SUSPEND_NONE
addCountFilter, disable, enable, getProperty, isEnabled, putProperty, setEnabled, setSuspendPolicy, suspendPolicy
toString, virtualMachine
Copyright © 1999, 2013, Oracle and/or its affiliates. All rights reserved.