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

    • Field Detail

      • 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 java.util.concurrent.TimeUnit timeUnit
        The time unit of the pause time.
    • Constructor Detail

      • UsingStat

        public UsingStat​(int attempts,
                         long pause,
                         java.util.concurrent.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.