Interface VirtualMachine.ForHotSpot.Connection.Factory

All Known Implementing Classes:
VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile
Enclosing interface:
VirtualMachine.ForHotSpot.Connection

public static interface VirtualMachine.ForHotSpot.Connection.Factory
A factory for creating connections to virtual machines.
  • Method Details

    • connect

      Connects to the supplied process.
      Parameters:
      processId - The process id.
      Returns:
      The connection to the virtual machine with the supplied process id.
      Throws:
      IOException - If an I/O exception occurs during connecting to the targeted VM.