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

public Class LocalVmManager

extends Object
Class Inheritance
Imports
java.util.*, java.util.regex.*, java.io.*

Class for managing the LocalMonitoredVm instances on the local system.

This class is responsible for the mechanism that detects the active HotSpot Java Virtual Machines on the local host that can be accessed by the current user. The ability to detect all possible HotSpot Java Virtual Machines on the local host may be limited by the permissions of the current user running this JVM.

Author
Brian Doherty
Since
1.5

Field Summary

Modifier and TypeField and Description
private FilenameFilter
private FilenameFilter

Constructor Summary

AccessConstructor and Description
public
LocalVmManager()

Creates a LocalVmManager instance for the local system.

Method Summary

Modifier and TypeMethod and Description
public synchronized Set<Integer>

Returns:

Set - the Set of monitorable Java Virtual Machines
activeVms
()

Return the current set of monitorable Java Virtual Machines that are accessible by the current user.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

userDirFileFilterback to summary
private FilenameFilter userDirFileFilter
userDirFilterback to summary
private FilenameFilter userDirFilter

Constructor Detail

LocalVmManagerback to summary
public LocalVmManager()

Creates a LocalVmManager instance for the local system.

Manages LocalMonitoredVm instances for which the current user has appropriate permissions.

Method Detail

activeVmsback to summary
public synchronized Set<Integer> activeVms()

Return the current set of monitorable Java Virtual Machines that are accessible by the current user.

Returns:Set<Integer>

Set - the Set of monitorable Java Virtual Machines