Eventobjects may be created at a given time by the target
VirtualMachine. For example, there may be more than one
BreakpointRequestfor a given
Locationor you might single step to the same location as a BreakpointRequest. These
Eventobjects are delivered together as an EventSet. For uniformity, an EventSet is always used to deliver
Eventobjects. EventSets are delivered by the
EventQueue. EventSets are unmodifiable.
Associated with the issuance of an event set, suspensions may
have occurred in the target VM. These suspensions correspond
To assure matching resumes occur, it is recommended,
to complete the processing of an event set with
The events that are grouped in an EventSet are restricted in the following ways:
|Modifier and Type||Method and Description|
Return an iterator specific to
Resumes threads suspended by this event set.
Returns the policy used to suspend threads in the target VM for this event set.
EventRequestfor the possible policy values.
EventRequest.SUSPEND_ALL, a call to this method is equivalent to
VirtualMachine.resume(). If the suspend policy is
EventRequest.SUSPEND_EVENT_THREAD, a call to this method is equivalent to
ThreadReference.resume()for the event thread. Otherwise, a call to this method is a no-op.
Copyright © 1999, 2014, Oracle and/or its affiliates. All rights reserved.