Package org.qzerver.model.agent.action.providers.executor.localcommand.threads

Examples of org.qzerver.model.agent.action.providers.executor.localcommand.threads.ProcessTimeoutThread


            process.getErrorStream(), maxCaptureSize, definition.isSkipStdError());
        processStandardErrorThread.start();

        // If timeout is set start watchdog thread. It terminates process thread after timeout exceeds
        if (definition.getTimeoutMs() > 0) {
            ProcessTimeoutThread processTimeoutThread = new ProcessTimeoutThread(
                processExecutionThread, definition.getTimeoutMs());
            processTimeoutThread.start();
        }

        // Wait while process thread exits
        processExecutionThread.join();
View Full Code Here

TOP

Related Classes of org.qzerver.model.agent.action.providers.executor.localcommand.threads.ProcessTimeoutThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.