モジュール jdk.jdi
パッケージ com.sun.jdi.request

インタフェースAccessWatchpointRequest

すべてのスーパー・インタフェース:
EventRequest, Mirror, WatchpointRequest

public interface AccessWatchpointRequest
extends WatchpointRequest
ターゲットVM内でフィールドの内容がアクセスされたときの通知要求です。 このイベントは、指定されたフィールドがJavaプログラミング言語コードまたはJava Native Interface (JNI) get関数(Get<Type>Field, GetStatic<Type>Field)によってアクセスされるとトリガーされます。 JDIによるアクセスでは、このイベントはトリガーされません。 有効なAccessWatchpointRequestが満たされると、AccessWatchpointEventを含むevent setEventQueueに置かれます。 既存のExceptionRequestのコレクションは、EventRequestManagerによって管理されます。既存のウォッチポイントのコレクションは、EventRequestManagerによって管理されます。

フィールドの変更はアクセスとは見なされません。

導入されたバージョン:
1.3
関連項目:
ModificationWatchpointRequest, EventQueue, EventRequestManager