Modifier and Type | Field and Description |
---|---|
protected Set | active
The set of currently active Java Virtual Machines for the MonitoredHost. |
protected Set | started
The set of Java Virtual Machines started on MonitoredHost since the previous event. |
protected Set | terminated
The set of Java Virtual Machines terminated on MonitoredHost since the previous event. |
Access | Constructor and Description |
---|---|
public | VmStatusChangeEvent(MonitoredHost
the MonitoredHost that is the source of the event. host, Set<Integer> the set of currently active Java Virtual Machines active, Set<Integer> the set of Java Virtual Machines started since the
last event. started, Set<Integer> the set of Java Virtual Machines terminated since
the last event. terminated)Construct a new VmStatusChangeEvent instance. |
Modifier and Type | Method and Description |
---|---|
public Set | Returns: Set - a set of Integer objects containing the lvmid of each active Java Virtual Machine on the host. If there are no active Java Virtual Machines on the host, an empty Set is returned.Return the set of currently active Java Virtual Machines. |
public Set | Returns: Set - a set of Integer objects containing the lvmid of each Java Virtual Machine started on the host. If no Java Virtual Machines were recently started on the host, an empty Set is returned.Return the set of Java Virtual Machines started since the last event notification. |
public Set | Returns: Set - a set of Integer objects containing the lvmid of each Java Virtual Machine terminated on the host. If no Java Virtual Machines were recently terminated on the host, an empty Set is returned.Return the set of Java Virtual Machines terminated since the last event notification. |
active | back to summary |
---|---|
protected Set<Integer> active The set of currently active Java Virtual Machines for the MonitoredHost. The set contains an Integer object holding the lvmid for each active Java Virtual Machine on the MonitoredHost. This Set will only contain Integer objects. |
started | back to summary |
---|---|
protected Set<Integer> started The set of Java Virtual Machines started on MonitoredHost since the previous event. The set contains an Integer object holding the lvmid for each Java Virtual Machine started on the MonitoredHost. This Set will only contain Integer objects. |
terminated | back to summary |
---|---|
protected Set<Integer> terminated The set of Java Virtual Machines terminated on MonitoredHost since the previous event. The set contains an Integer object holding the lvmid for each Java Virtual Machine started on the MonitoredHost. This Set will only contain Integer objects. |
VmStatusChangeEvent | back to summary |
---|---|
public VmStatusChangeEvent(MonitoredHost host, Set<Integer> active, Set<Integer> started, Set<Integer> terminated) Construct a new VmStatusChangeEvent instance.
|
getActive | back to summary |
---|---|
public Set Return the set of currently active Java Virtual Machines. The set contains an Integer object holding the lvmid for each active Java Virtual Machine on the MonitoredHost. |
getStarted | back to summary |
---|---|
public Set Return the set of Java Virtual Machines started since the last event notification. The set contains an Integer object holding the lvmid for each Java Virtual Machine started on the MonitoredHost since the last event notification. |
getTerminated | back to summary |
---|---|
public Set Return the set of Java Virtual Machines terminated since the last event notification. The set contains an Integer object holding the lvmid for each Java Virtual Machine terminated on the MonitoredHost since the last event notification. |