public class WindowsVirtualMachine extends HotSpotVirtualMachine
Constructor and Description |
---|
WindowsVirtualMachine(AttachProvider provider,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
detach()
Detach from the virtual machine.
|
dumpHeap, executeJCmd, getAgentProperties, getSystemProperties, heapHisto, loadAgent, loadAgentLibrary, loadAgentPath, localDataDump, printFlag, remoteDataDump, setFlag
attach, attach, equals, hashCode, id, list, loadAgent, loadAgentLibrary, loadAgentPath, provider, toString
public WindowsVirtualMachine(AttachProvider provider, java.lang.String id) throws AttachNotSupportedException, java.io.IOException
AttachNotSupportedException
java.io.IOException
public void detach() throws java.io.IOException
VirtualMachine
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.detach
in class VirtualMachine
java.io.IOException
- If an I/O error occurs