use of org.gluu.oxtrust.service.cdi.event.StatusCheckerTimerEvent in project oxTrust by GluuFederation.
the class StatusCheckerTimer 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 StatusCheckerTimerEvent(), Scheduled.Literal.INSTANCE));
}
Aggregations