use of org.gluu.oxtrust.service.cdi.event.StatusCheckerDailyEvent in project oxTrust by GluuFederation.
the class StatusCheckerDaily method initTimer.
public void initTimer() {
log.info("Initializing Daily Status Cheker Timer");
this.isActive = new AtomicBoolean(false);
final int delay = 1 * 60;
final int interval = DEFAULT_INTERVAL;
timerEvent.fire(new TimerEvent(new TimerSchedule(delay, interval), new StatusCheckerDailyEvent(), Scheduled.Literal.INSTANCE));
}
Aggregations