21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.jdi.request;
27
28 import com.sun.jdi.*;
29
30 /**
31 * Identifies a {@link Field} in the target VM being watched.
32 *
33 * @see AccessWatchpointRequest
34 * @see ModificationWatchpointRequest
35 * @see com.sun.jdi.event.EventQueue
36 * @see EventRequestManager
37 *
38 * @author Robert Field
39 * @since 1.3
40 */
41 public interface WatchpointRequest extends EventRequest {
42
43 /**
44 * Gets the Field being watched by this WatchpointRequest.
45 *
46 * @return the {@link Field} this Watchpoint is monitoring.
47 */
48 Field field();
49
50 /**
51 * Restricts the events generated by this request to those in
52 * the given thread.
53 * @param thread the thread to filter on.
54 * @throws InvalidRequestStateException if this request is currently
55 * enabled or has been deleted.
56 * Filters may be added only to disabled requests.
57 */
58 void addThreadFilter(ThreadReference thread);
59
60 /**
|
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package com.sun.jdi.request;
27
28 import com.sun.jdi.*;
29
30 /**
31 * Identifies a {@link Field} in the target VM being watched.
32 *
33 * @see AccessWatchpointRequest
34 * @see ModificationWatchpointRequest
35 * @see com.sun.jdi.event.EventQueue
36 * @see EventRequestManager
37 *
38 * @author Robert Field
39 * @since 1.3
40 */
41 @jdk.Supported
42 public interface WatchpointRequest extends EventRequest {
43
44 /**
45 * Gets the Field being watched by this WatchpointRequest.
46 *
47 * @return the {@link Field} this Watchpoint is monitoring.
48 */
49 Field field();
50
51 /**
52 * Restricts the events generated by this request to those in
53 * the given thread.
54 * @param thread the thread to filter on.
55 * @throws InvalidRequestStateException if this request is currently
56 * enabled or has been deleted.
57 * Filters may be added only to disabled requests.
58 */
59 void addThreadFilter(ThreadReference thread);
60
61 /**
|