public static class VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Factory extends VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile
VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile| Constructor and Description |
|---|
Factory(int attempts,
long pause,
TimeUnit timeUnit)
Creates a new connection factory for a Solaris VM.
|
| Modifier and Type | Method and Description |
|---|---|
protected VirtualMachine.ForHotSpot.Connection |
doConnect(File socket)
Connects to the supplied POSIX socket.
|
protected void |
kill(String processId,
int signal)
Sends a kill signal to the target process.
|
connectpublic Factory(int attempts,
long pause,
TimeUnit timeUnit)
attempts - The maximum amount of attempts for checking the establishment of a socket connection.pause - The pause between two checks for an established socket connection.timeUnit - The time unit of the pause time.protected void kill(String processId, int signal)
kill in class VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFileprocessId - The process id.signal - The signal to send.protected VirtualMachine.ForHotSpot.Connection doConnect(File socket)
doConnect in class VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFilesocket - The socket to connect to.Copyright © 2014–2025. All rights reserved.