Interface VirtualMachine.ForHotSpot.Connection.Factory

    • Method Detail

      • connect

        VirtualMachine.ForHotSpot.Connection connect​(java.lang.String processId)
                                              throws java.io.IOException
        Connects to the supplied process.
        Parameters:
        processId - The process id.
        Returns:
        The connection to the virtual machine with the supplied process id.
        Throws:
        java.io.IOException - If an I/O exception occurs during connecting to the targeted VM.