@Exported public interface Event extends Mirror
BreakpointEvent
, ExceptionEvent
,
ClassPrepareEvent
).
When an event occurs, an instance of Event as a component of
an EventSet
is enqueued in the
VirtualMachine
's EventQueue
.EventSet
,
EventQueue
Modifier and Type | Method and Description |
---|---|
EventRequest |
request() |
toString, virtualMachine
EventRequest request()
EventRequest
that requested this event.
Some events (eg. VMDeathEvent
) may not have
a cooresponding request and thus will return null.
Copyright © 1999, 2015, Oracle and/or its affiliates. All rights reserved.