stopThread(profile);
} else {
if (interval < INTERVAL_MINIMUM) {
interval = INTERVAL_MINIMUM;
}
DeadlineChecker thread = getThread(profile);
if (thread == null) {
thread = new DeadlineChecker(profile,
null,
interval,
10,
10,
true);
threadMap.put(profile, thread);
}
else {
thread.setDelay(interval);
if (thread.isStopped()) {
LogUtil.info(DeadlineThreadManager.class.getName(), "Starting DeadlineChecker for profile " + profile);
thread.startChecker();
}
}
}
}