@Module public class JniProcess extends java.lang.Process
Constructor and Description |
---|
JniProcess() |
Modifier and Type | Method and Description |
---|---|
void |
chown(java.lang.String path,
java.lang.String user,
java.lang.String group) |
boolean |
clearSaveOnExec() |
JniProcess |
create(java.util.ArrayList<java.lang.String> args,
java.util.HashMap<java.lang.String,java.lang.String> env,
java.lang.String chroot,
java.lang.String pwd,
java.lang.String user,
java.lang.String group) |
void |
destroy() |
int |
exitValue() |
java.io.InputStream |
getErrorStream() |
static int |
getFdMax() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
int |
getPid() |
java.lang.String |
getTroubleshootMessage() |
boolean |
isEnabled() |
boolean |
isNativeBootAvailable() |
static int |
setFdMax() |
int |
waitFor() |
public JniProcess create(java.util.ArrayList<java.lang.String> args, java.util.HashMap<java.lang.String,java.lang.String> env, java.lang.String chroot, java.lang.String pwd, java.lang.String user, java.lang.String group)
public boolean isEnabled()
public java.lang.String getTroubleshootMessage()
public java.io.OutputStream getOutputStream()
getOutputStream
in class java.lang.Process
public java.io.InputStream getInputStream()
getInputStream
in class java.lang.Process
public java.io.InputStream getErrorStream()
getErrorStream
in class java.lang.Process
public int getPid()
public void chown(java.lang.String path, java.lang.String user, java.lang.String group)
public int waitFor()
waitFor
in class java.lang.Process
public int exitValue()
exitValue
in class java.lang.Process
public void destroy()
destroy
in class java.lang.Process
public boolean isNativeBootAvailable()
public boolean clearSaveOnExec()
public static int getFdMax()
public static int setFdMax()