Package com.sun.faban.harness.engine

Examples of com.sun.faban.harness.engine.RunQ


     * Checks if benchmark can be deployed.
     * @param benchName
     * @return boolean
     */
    public static boolean canDeployBenchmark(String benchName) {
        RunQ runQ = RunQ.getHandle();

        if (benchName.equals(runQ.getCurrentBenchmark()))
            return false;

        String[][] pendingRuns = runQ.listRunQ();
        if (pendingRuns != null)
            for (int i = 0; i < pendingRuns.length; i++)
                if (benchName.equals(pendingRuns[i][RunQ.BENCHNAME]))
                    return false;
        return true;
View Full Code Here

TOP

Related Classes of com.sun.faban.harness.engine.RunQ

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.