Class VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor

    • Method Detail

      • execute

        public VirtualMachine.ForHotSpot.Connection.Response execute​(java.lang.String protocol,
                                                                     java.lang.String... argument)
                                                              throws java.io.IOException
        Executes a command on the current connection.
        Specified by:
        execute in interface VirtualMachine.ForHotSpot.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.
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable