use of org.olat.core.configuration.PreWarm in project OpenOLAT by OpenOLAT.
the class OpenOLATServlet method preWarm.
private void preWarm() {
TaskExecutorManager executor = CoreSpringFactory.getImpl(TaskExecutorManager.class);
Map<String, PreWarm> preWarms = CoreSpringFactory.getBeansOfType(PreWarm.class);
for (PreWarm preWarm : preWarms.values()) {
executor.execute(preWarm);
}
}
use of org.olat.core.configuration.PreWarm in project openolat by klemens.
the class OpenOLATServlet method preWarm.
private void preWarm() {
TaskExecutorManager executor = CoreSpringFactory.getImpl(TaskExecutorManager.class);
Map<String, PreWarm> preWarms = CoreSpringFactory.getBeansOfType(PreWarm.class);
for (PreWarm preWarm : preWarms.values()) {
executor.execute(preWarm);
}
}
Aggregations