use of org.gluu.oxauth.service.cdi.event.StatEvent in project oxAuth by GluuFederation.
the class StatTimer method initTimer.
@Asynchronous
public void initTimer() {
log.info("Initializing Stat Service Timer");
this.isActive = new AtomicBoolean(false);
timerEvent.fire(new TimerEvent(new TimerSchedule(TIMER_TICK_INTERVAL_IN_SECONDS, TIMER_TICK_INTERVAL_IN_SECONDS), new StatEvent(), Scheduled.Literal.INSTANCE));
this.lastFinishedTime = System.currentTimeMillis();
log.info("Initialized Stat Service Timer");
}
Aggregations