* 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;