public static class VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider.UsingIStat extends Object implements VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider
istat
.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider.UsingIStat, VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider.UsingStat
Constructor and Description |
---|
UsingIStat(int attempts,
long pause,
TimeUnit timeUnit)
Creates a new provider for reading a POSIX owner using
istat . |
Modifier and Type | Method and Description |
---|---|
int |
getOwnerIdOf(File file)
Returns the user id of the owner of the supplied file.
|
public UsingIStat(int attempts, long pause, TimeUnit timeUnit)
istat
.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.public int getOwnerIdOf(File file)
getOwnerIdOf
in interface VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixOwnerProvider
file
- The file for which to locate the owner.Copyright © 2014–2025. All rights reserved.