//
// All of these values are negative. Any value that should be allowed to
// speculate is 0 or positive.
private long speculationValue(TezTaskID taskID, long now) {
DAG job = context.getCurrentDAG();
Task task = job.getVertex(taskID.getVertexID()).getTask(taskID);
Map<TezTaskAttemptID, TaskAttempt> attempts = task.getAttempts();
long acceptableRuntime = Long.MIN_VALUE;
long result = Long.MIN_VALUE;
if (!mayHaveSpeculated.contains(taskID)) {
acceptableRuntime = estimator.thresholdRuntime(taskID);