JobResult res = runJob(drainJob); if (res.failed) { log.error("Failed to drain queue", res.throwables[0]); return false; } return true;
runJob(drainJob);
   protected boolean drainQueue(String queueName)   {      Job drainJob = createDefaultDrainJob(queueName);      JobResult res = runJob(drainJob);      if (res.failed)      {         log.error("Failed to drain queue", res.throwables[0]);         return false;      }      return true;   }