List of usage examples for org.apache.commons.exec Executor interface-usage
From source file server.ProcExecutor.java
/**
* The main abstraction of the forked process.
*
* The interface allows to
* <ul>
* <li>get the IP of the deployed server</li>
From source file org.ng200.openolympus.cerberus.executors.OpenOlympusWatchdogExecutor.java
public abstract class OpenOlympusWatchdogExecutor implements Executor { private static boolean alreadyEnsuredUserExists; private static String callNativeId(boolean group) throws IOException { OpenOlympusWatchdogExecutor.ensureUserAndGroupExists();
From source file org.ng200.openolympus.cerberus.executors.SandboxedExecutor.java
public class SandboxedExecutor extends OpenOlympusWatchdogExecutor implements Executor { public static final Path CHROOT_TEMPLATE_PATH = FileSystems.getDefault().getPath("/usr/chroot"); private transient TemporaryStorage storage; private long memoryLimit = 0; private long cpuLimit = 0; private long timeLimit = 0;
From source file org.ng200.openolympus.cerberus.executors.JavaExecutor.java
public class JavaExecutor extends OpenOlympusWatchdogExecutor implements Executor { private transient TemporaryStorage storage; private long memoryLimit = 0; private long cpuLimit = 0; private long timeLimit = 0;