Lines Matching refs:process
56 private volatile Process process; field in Command
99 process = processBuilder.start(); in start()
103 return process != null; in isStarted()
111 return process.getInputStream(); in getInputStream()
131 int exitValue = process.waitFor(); in gatherOutput()
171 Process process = this.process; in destroy() local
172 if (process == null) { in destroy()
180 process.destroy(); in destroy()
182 process.waitFor(); in destroy()
183 int exitValue = process.exitValue(); in destroy()
203 @Override protected void onTimeout(Process process) { in scheduleTimeout() argument
206 sendQuitSignal(process); in scheduleTimeout()
211 @Override protected void onTimeout(Process process) { in scheduleTimeout() argument
220 private void sendQuitSignal(Process process) { in sendQuitSignal() argument
222 new Command(log, "kill", "-3", Integer.toString(getPid(process))).execute(); in sendQuitSignal()
228 private int getPid(Process process) { in getPid() argument
231 Field field = process.getClass().getDeclaredField("pid"); in getPid()
233 return (Integer) field.get(process); in getPid()
328 protected abstract void onTimeout(Process process); in onTimeout() argument
332 Process process = Command.this.process; in run() local
338 onTimeout(process); in run()