public class

ConnectorAddressLink

extends Object
java.lang.Object
   ↳ sun.management.ConnectorAddressLink

Class Overview

A utility class to support the exporting and importing of the address of a connector server using the instrumentation buffer.

Summary

Public Constructors
ConnectorAddressLink()
Public Methods
static void export(String address)
Exports the specified connector address to the instrumentation buffer so that it can be read by this or other Java virtual machines running on the same system.
static String importFrom(int vmid)
Imports the connector address from the instrument buffer of the specified Java virtual machine.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ConnectorAddressLink ()

Public Methods

public static void export (String address)

Exports the specified connector address to the instrumentation buffer so that it can be read by this or other Java virtual machines running on the same system.

Parameters
address The connector address.

public static String importFrom (int vmid)

Imports the connector address from the instrument buffer of the specified Java virtual machine.

Parameters
vmid an identifier that uniquely identifies a local Java virtual machine, or 0 to indicate the current Java virtual machine.
Returns
  • the value of the connector address, or null if the target VM has not exported a connector address.
Throws
IOException An I/O error occurred while trying to acquire the instrumentation buffer.