src/share/classes/sun/jvmstat/monitor/event/VmStatusChangeEvent.java

Print this page

        

*** 42,68 **** * The set of currently active Java Virtual Machines for the MonitoredHost. * The set contains an Integer object holding the <em>lvmid</em> for each * active Java Virtual Machine on the MonitoredHost. This Set will only * contain Integer objects. */ ! protected Set active; /** * The set of Java Virtual Machines started on MonitoredHost since the * previous event. The set contains an Integer object holding the * <em>lvmid</em> for each Java Virtual Machine started on the * MonitoredHost. This Set will only contain Integer objects. */ ! protected Set started; /** * The set of Java Virtual Machines terminated on MonitoredHost since the * previous event. The set contains an Integer object holding the * <em>lvmid</em> for each Java Virtual Machine started on the * MonitoredHost. This Set will only contain Integer objects. */ ! protected Set terminated; /** * Construct a new VmStatusChangeEvent instance. * * @param host the MonitoredHost that is the source of the event. --- 42,68 ---- * The set of currently active Java Virtual Machines for the MonitoredHost. * The set contains an Integer object holding the <em>lvmid</em> for each * active Java Virtual Machine on the MonitoredHost. This Set will only * contain Integer objects. */ ! protected Set<Integer> active; /** * The set of Java Virtual Machines started on MonitoredHost since the * previous event. The set contains an Integer object holding the * <em>lvmid</em> for each Java Virtual Machine started on the * MonitoredHost. This Set will only contain Integer objects. */ ! protected Set<Integer> started; /** * The set of Java Virtual Machines terminated on MonitoredHost since the * previous event. The set contains an Integer object holding the * <em>lvmid</em> for each Java Virtual Machine started on the * MonitoredHost. This Set will only contain Integer objects. */ ! protected Set<Integer> terminated; /** * Construct a new VmStatusChangeEvent instance. * * @param host the MonitoredHost that is the source of the event.
*** 70,81 **** * @param started the set of Java Virtual Machines started since the * last event. * @param terminated the set of Java Virtual Machines terminated since * the last event. */ ! public VmStatusChangeEvent(MonitoredHost host, Set active, ! Set started, Set terminated) { super(host); this.active = active; this.started = started; this.terminated = terminated; } --- 70,81 ---- * @param started the set of Java Virtual Machines started since the * last event. * @param terminated the set of Java Virtual Machines terminated since * the last event. */ ! public VmStatusChangeEvent(MonitoredHost host, Set<Integer> active, ! Set<Integer> started, Set<Integer> terminated) { super(host); this.active = active; this.started = started; this.terminated = terminated; }
*** 88,98 **** * @return Set - a set of Integer objects containing the <em>lvmid</em> * 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. */ ! public Set getActive() { return active; } /** * Return the set of Java Virtual Machines started since the last --- 88,98 ---- * @return Set - a set of Integer objects containing the <em>lvmid</em> * 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. */ ! public Set<Integer> getActive() { return active; } /** * Return the set of Java Virtual Machines started since the last
*** 103,113 **** * @return Set - a set of Integer objects containing the <em>lvmid</em> * 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. */ ! public Set getStarted() { return started; } /** * Return the set of Java Virtual Machines terminated since the last --- 103,113 ---- * @return Set - a set of Integer objects containing the <em>lvmid</em> * 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. */ ! public Set<Integer> getStarted() { return started; } /** * Return the set of Java Virtual Machines terminated since the last
*** 118,126 **** * @return Set - a set of Integer objects containing the <em>lvmid</em> * 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. */ ! public Set getTerminated() { return terminated; } } --- 118,126 ---- * @return Set - a set of Integer objects containing the <em>lvmid</em> * 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. */ ! public Set<Integer> getTerminated() { return terminated; } }