Class WindowsVirtualMachine


public class WindowsVirtualMachine extends HotSpotVirtualMachine
  • Constructor Details

  • Method Details

    • detach

      public void detach() throws IOException
      Description copied from class: VirtualMachine
      Detach from the virtual machine.

      After detaching from the virtual machine, any further attempt to invoke operations on that virtual machine will cause an IOException to be thrown. If an operation (such as loadAgent for example) is in progress when this method is invoked then the behaviour is implementation dependent. In other words, it is implementation specific if the operation completes or throws IOException.

      If already detached from the virtual machine then invoking this method has no effect.

      Specified by:
      detach in class VirtualMachine
      Throws:
      IOException - If an I/O error occurs