public static interface VirtualMachine.ForHotSpot.Connection extends Closeable
Modifier and Type | Interface and Description |
---|---|
static interface |
VirtualMachine.ForHotSpot.Connection.Factory
A factory for creating connections to virtual machines.
|
static class |
VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket
Implements a connection for a Posix socket in JNA.
|
static class |
VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor
A connection to a VM using a Solaris door.
|
static class |
VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe
Implements a connection for a Windows named pipe in JNA.
|
static class |
VirtualMachine.ForHotSpot.Connection.OnPersistentByteChannel<T>
A connection that is represented by a byte channel that is persistent during communication.
|
static interface |
VirtualMachine.ForHotSpot.Connection.Response
A response to an execution command to a VM.
|
Modifier and Type | Method and Description |
---|---|
VirtualMachine.ForHotSpot.Connection.Response |
execute(String protocol,
String... argument)
Executes a command on the current connection.
|
VirtualMachine.ForHotSpot.Connection.Response execute(String protocol, String... argument) throws IOException
protocol
- The target VMs protocol version for the attach API.argument
- The arguments to send to the target VM.IOException
- If an I/O error occurred.Copyright © 2014–2023. All rights reserved.