Class VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory

java.lang.Object
net.bytebuddy.agent.VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile
net.bytebuddy.agent.VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory
All Implemented Interfaces:
VirtualMachine.ForHotSpot.Connection.Factory
Enclosing class:
VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket

public static class VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory extends VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile
A factory for a POSIX socket connection to a JVM using JNA.
  • Constructor Details

    • Factory

      public Factory(String temporaryDirectory, int attempts, long pause, TimeUnit timeUnit)
      Creates a connection factory for a POSIX socket using JNA.
      Parameters:
      temporaryDirectory - The temporary directory to use.
      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.
  • Method Details