< prev index next >

src/jdk.jdi/share/classes/com/sun/jdi/event/EventSet.java

Print this page




  34  * the target {@link VirtualMachine}. For example, there may be
  35  * more than one {@link com.sun.jdi.request.BreakpointRequest}
  36  * for a given {@link Location}
  37  * or you might single step to the same location as a
  38  * BreakpointRequest.  These {@link Event} objects are delivered
  39  * together as an EventSet.  For uniformity, an EventSet is always used
  40  * to deliver {@link Event} objects.  EventSets are delivered by
  41  * the {@link EventQueue}.
  42  * EventSets are unmodifiable.
  43  * <P>
  44  * Associated with the issuance of an event set, suspensions may
  45  * have occurred in the target VM.  These suspensions correspond
  46  * with the {@link #suspendPolicy() suspend policy}.
  47  * To assure matching resumes occur, it is recommended,
  48  * where possible,
  49  * to complete the processing of an event set with
  50  * {@link #resume() EventSet.resume()}.
  51  * <P>
  52  * The events that are grouped in an EventSet are restricted in the
  53  * following ways:
  54  * <P>
  55  * <UL>
  56  * <LI>Always singleton sets:
  57  *     <UL>
  58  *     <LI>{@link VMStartEvent}
  59  *     <LI>{@link VMDisconnectEvent}
  60  *     </UL>
  61  * <LI>Only with other VMDeathEvents:
  62  *     <UL>
  63  *     <LI>{@link VMDeathEvent}
  64  *     </UL>
  65  * <LI>Only with other ThreadStartEvents for the same thread:
  66  *     <UL>
  67  *     <LI>{@link ThreadStartEvent}
  68  *     </UL>
  69  * <LI>Only with other ThreadDeathEvents for the same thread:
  70  *     <UL>
  71  *     <LI>{@link ThreadDeathEvent}
  72  *     </UL>
  73  * <LI>Only with other ClassPrepareEvents for the same class:
  74  *     <UL>




  34  * the target {@link VirtualMachine}. For example, there may be
  35  * more than one {@link com.sun.jdi.request.BreakpointRequest}
  36  * for a given {@link Location}
  37  * or you might single step to the same location as a
  38  * BreakpointRequest.  These {@link Event} objects are delivered
  39  * together as an EventSet.  For uniformity, an EventSet is always used
  40  * to deliver {@link Event} objects.  EventSets are delivered by
  41  * the {@link EventQueue}.
  42  * EventSets are unmodifiable.
  43  * <P>
  44  * Associated with the issuance of an event set, suspensions may
  45  * have occurred in the target VM.  These suspensions correspond
  46  * with the {@link #suspendPolicy() suspend policy}.
  47  * To assure matching resumes occur, it is recommended,
  48  * where possible,
  49  * to complete the processing of an event set with
  50  * {@link #resume() EventSet.resume()}.
  51  * <P>
  52  * The events that are grouped in an EventSet are restricted in the
  53  * following ways:

  54  * <UL>
  55  * <LI>Always singleton sets:
  56  *     <UL>
  57  *     <LI>{@link VMStartEvent}
  58  *     <LI>{@link VMDisconnectEvent}
  59  *     </UL>
  60  * <LI>Only with other VMDeathEvents:
  61  *     <UL>
  62  *     <LI>{@link VMDeathEvent}
  63  *     </UL>
  64  * <LI>Only with other ThreadStartEvents for the same thread:
  65  *     <UL>
  66  *     <LI>{@link ThreadStartEvent}
  67  *     </UL>
  68  * <LI>Only with other ThreadDeathEvents for the same thread:
  69  *     <UL>
  70  *     <LI>{@link ThreadDeathEvent}
  71  *     </UL>
  72  * <LI>Only with other ClassPrepareEvents for the same class:
  73  *     <UL>


< prev index next >