public abstract class PosixProcessPropertiesSupport extends Object implements org.graalvm.nativeimage.impl.ProcessPropertiesSupport
| Constructor and Description |
|---|
PosixProcessPropertiesSupport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
destroy(long processID) |
boolean |
destroyForcibly(long processID) |
void |
exec(Path executable,
String[] args) |
String |
getObjectFile(org.graalvm.nativeimage.c.function.CEntryPointLiteral<?> symbol) |
String |
getObjectFile(String symbol) |
long |
getProcessID() |
long |
getProcessID(Process process) |
boolean |
isAlive(long processID) |
protected static String |
realpath(String path)
A platform-independent method to canonicalize a path.
|
String |
setLocale(String category,
String locale) |
int |
waitForProcessExit(long processID) |
public long getProcessID()
getProcessID in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic long getProcessID(Process process)
getProcessID in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic boolean destroy(long processID)
destroy in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic boolean destroyForcibly(long processID)
destroyForcibly in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic boolean isAlive(long processID)
isAlive in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic int waitForProcessExit(long processID)
waitForProcessExit in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic String getObjectFile(String symbol)
getObjectFile in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic String getObjectFile(org.graalvm.nativeimage.c.function.CEntryPointLiteral<?> symbol)
getObjectFile in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic String setLocale(String category, String locale)
setLocale in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupportpublic void exec(Path executable, String[] args)
exec in interface org.graalvm.nativeimage.impl.ProcessPropertiesSupport