Interface VirtualMachine.ForHotSpot.Connection

    • Method Detail

      • execute

        VirtualMachine.ForHotSpot.Connection.Response execute​(java.lang.String protocol,
                                                              java.lang.String... argument)
                                                       throws java.io.IOException
        Executes a command on the current connection.
        Parameters:
        protocol - The target VMs protocol version for the attach API.
        argument - The arguments to send to the target VM.
        Returns:
        The response of the target JVM.
        Throws:
        java.io.IOException - If an I/O error occurred.