APIdia Launch Partner
Top Fields Constructors Methods
sun.tools.jconsole

public Class LocalVirtualMachine

extends Object
Class Inheritance
Imports
java.util.*, java.io.IOException, .File, com.sun.tools.attach.VirtualMachine, .VirtualMachineDescriptor, .AttachNotSupportedException, jdk.internal.agent.ConnectorAddressLink, sun.jvmstat.monitor.HostIdentifier, .MonitoredHost, .MonitoredVm, .MonitoredVmUtil, .MonitorException, .VmIdentifier

Field Summary

Modifier and TypeField and Description
private String
private String
private String
private boolean
private static final String
private int

Constructor Summary

AccessConstructor and Description
public
LocalVirtualMachine(int vmid, String commandLine, boolean canAttach, String connectorAddress)

Method Summary

Modifier and TypeMethod and Description
public String
public String
public static Map<Integer, LocalVirtualMachine>
private static void
private static String
getDisplayName(String commandLine)

public static LocalVirtualMachine
private static void
public boolean
public boolean
private void
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public int
vmid()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

addressback to summary
private String address
commandLineback to summary
private String commandLine
displayNameback to summary
private String displayName
isAttachSupportedback to summary
private boolean isAttachSupported
LOCAL_CONNECTOR_ADDRESS_PROPback to summary
private static final String LOCAL_CONNECTOR_ADDRESS_PROP
vmidback to summary
private int vmid

Constructor Detail

LocalVirtualMachineback to summary
public LocalVirtualMachine(int vmid, String commandLine, boolean canAttach, String connectorAddress)

Method Detail

connectorAddressback to summary
public String connectorAddress()
displayNameback to summary
public String displayName()
getAllVirtualMachinesback to summary
public static Map<Integer, LocalVirtualMachine> getAllVirtualMachines()
getAttachableVMsback to summary
private static void getAttachableVMs(Map<Integer, LocalVirtualMachine> map)
getDisplayNameback to summary
private static String getDisplayName(String commandLine)
getLocalVirtualMachineback to summary
public static LocalVirtualMachine getLocalVirtualMachine(int vmid)
getMonitoredVMsback to summary
private static void getMonitoredVMs(Map<Integer, LocalVirtualMachine> map)
isAttachableback to summary
public boolean isAttachable()
isManageableback to summary
public boolean isManageable()
loadManagementAgentback to summary
private void loadManagementAgent() throws IOException
startManagementAgentback to summary
public void startManagementAgent() throws IOException
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

vmidback to summary
public int vmid()