throw new IllegalStateException(
"DBAppender cannot function without a reference to its owning repository");
}
if (repository instanceof LoggerRepositoryEx) {
Scheduler scheduler = ((LoggerRepositoryEx) repository).getScheduler();
scheduler.schedule(
receiverJob, System.currentTimeMillis() + 500, refreshMillis);
}
}