public class VmStatusChangeEvent extends HostEvent
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.
|
source
Constructor and Description |
---|
VmStatusChangeEvent(MonitoredHost host,
Set active,
Set started,
Set terminated)
Construct a new VmStatusChangeEvent instance.
|
Modifier and Type | Method and Description |
---|---|
Set |
getActive()
Return the set of currently active Java Virtual Machines.
|
Set |
getStarted()
Return the set of Java Virtual Machines started since the last
event notification.
|
Set |
getTerminated()
Return the set of Java Virtual Machines terminated since the last
event notification.
|
getMonitoredHost
getSource, toString
protected Set active
protected Set started
protected Set terminated
public VmStatusChangeEvent(MonitoredHost host, Set active, Set started, Set terminated)
host
- the MonitoredHost that is the source of the event.active
- the set of currently active Java Virtual Machinesstarted
- the set of Java Virtual Machines started since the
last event.terminated
- the set of Java Virtual Machines terminated since
the last event.public Set getActive()
public Set getStarted()
public Set getTerminated()
Copyright © 2017–2018 earcam. All rights reserved.