Class Overview
Provides a description of a change in status of the instrumentation
exported by the MonitoredVm.
Summary
Fields |
protected
List |
inserted |
List of instrumentation objects inserted since the last event. |
protected
List |
removed |
List of instrumentation objects removed since the last event. |
Public Methods |
List
|
getInserted()
Return the list of instrumentation objects that were inserted
since the last event notification.
|
List
|
getRemoved()
Return the set of instrumentation objects that were removed
since the last event notification.
|
[Expand]
Inherited Methods |
From class
sun.jvmstat.monitor.event.VmEvent
|
From class
java.util.EventObject
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Fields
protected
List
inserted
List of instrumentation objects inserted since the last event.
Elements of this list will always be of type Monitor.
protected
List
removed
List of instrumentation objects removed since the last event.
Elements of this list will always be of type Monitor.
Public Constructors
public
MonitorStatusChangeEvent
(MonitoredVm vm, List inserted, List removed)
Construct a new MonitorStatusChangeEvent.
Parameters
vm
| the MonitoredVm source of the event. |
inserted
| the list of instrumentation objects inserted since
the last event. |
removed
| the list of instrumentation objects removed since
the last event.
|
Public Methods
public
List
getInserted
()
Return the list of instrumentation objects that were inserted
since the last event notification.
Returns
- List - a List of Monitor objects that were inserted into the
instrumentation exported by the MonitoredHost. If no
new instrumentation was inserted, an emply List is
returned.
public
List
getRemoved
()
Return the set of instrumentation objects that were removed
since the last event notification.
Returns
- List - a List of Monitor objects that were removed from the
instrumentation exported by the MonitoredHost. If no
instrumentation was removed, an emply List is returned.