import java.util.concurrent.TimeUnit;
import jalview.bin.Cache;
+import jalview.bin.Console;
import jalview.util.ArrayUtils;
import jalview.util.MathUtils;
import jalview.ws.params.ArgumentI;
private final TaskEventSupport<R> eventHandler;
- protected JobStatus taskStatus = null;
+ protected JobStatus taskStatus = JobStatus.CREATED;
private Future<?> future = null;
job.setStatus(JobStatus.CANCELLED);
} catch (IOException e)
{
- Cache.log.error(format("failed to cancel job %s", job.getServerJob()), e);
+ Console.error(format("failed to cancel job %s", job.getServerJob()), e);
}
}
}