/** Hydra task to execution ops, then stop scheduling. */ public static void HydraTask_doOps() { BitSet availableOps = new BitSet(operations.length); availableOps.flip(FIRST_OP, LAST_OP + 1); // don't do local ops in bridge configuration availableOps.clear(LOCAL_INVALIDATE); availableOps.clear(LOCAL_DESTROY); testInstance.doOps(availableOps); if (availableOps.cardinality() == 0) { CQUtilBB.getBB().getSharedCounters().increment(CQUtilBB.TimeToStop); throw new StopSchedulingTaskOnClientOrder("Finished with ops"); } }