APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvmstat.perfdata.monitor

public Class MonitorStatus

extends Object
Class Inheritance
Imports
java.util.List, sun.jvmstat.monitor.Monitor

Immutable class containing the list of inserted and deleted monitors over an arbitrary time period.
Author
Brian Doherty
Since
1.5

Field Summary

Modifier and TypeField and Description
protected List<Monitor>
inserted

The list of Monitors inserted since the last query.

protected List<Monitor>
removed

The list of Monitors removed since the last query.

Constructor Summary

AccessConstructor and Description
public
MonitorStatus(List<Monitor>
the list of Monitors inserted
inserted
,
List<Monitor>
the list of Monitors removed
removed
)

Create a MonitorStatus instance.

Method Summary

Modifier and TypeMethod and Description
public List<Monitor>

Returns:

List - the List of Monitor objects inserted or an empty List.
getInserted
()

Get the list of Monitors inserted since the last query.

public List<Monitor>

Returns:

List - the List of Monitor objects removed or an empty List.
getRemoved
()

Get the list of Monitors removed since the last query.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

insertedback to summary
protected List<Monitor> inserted

The list of Monitors inserted since the last query.

removedback to summary
protected List<Monitor> removed

The list of Monitors removed since the last query.

Constructor Detail

MonitorStatusback to summary
public MonitorStatus(List<Monitor> inserted, List<Monitor> removed)

Create a MonitorStatus instance.

Parameters
inserted:List<Monitor>

the list of Monitors inserted

removed:List<Monitor>

the list of Monitors removed

Method Detail

getInsertedback to summary
public List<Monitor> getInserted()

Get the list of Monitors inserted since the last query.

Returns:List<Monitor>

List - the List of Monitor objects inserted or an empty List.

getRemovedback to summary
public List<Monitor> getRemoved()

Get the list of Monitors removed since the last query.

Returns:List<Monitor>

List - the List of Monitor objects removed or an empty List.