Class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider.UsingStat

java.lang.Object
net.bytebuddy.agent.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider.UsingStat
All Implemented Interfaces:
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider
Enclosing interface:
VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider

public static class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider.UsingStat extends Object implements VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider
An implementation of reading POSIX ownership using stat.
  • Field Details

    • attempts

      private final int attempts
      The maximum amount of attempts for checking the result of a foreign process.
    • pause

      private final long pause
      The pause between two checks for another process to return.
    • timeUnit

      private final TimeUnit timeUnit
      The time unit of the pause time.
  • Constructor Details

    • UsingStat

      public UsingStat(int attempts, long pause, TimeUnit timeUnit)
      Creates a new provider where an owner is derived using the stat command.
      Parameters:
      attempts - The maximum amount of attempts for checking the result of a foreign process.
      pause - The pause between two checks for another process to return.
      timeUnit - The time unit of the pause time.
  • Method Details