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