@Test public void test() throws Exception { final ScheduleExpression schedule = new ScheduleExpression() .hour("*") .minute("*") .second("*/5"); scheduler.scheduleEvent(schedule, new TestEvent("five")); Assert.assertTrue(events.await(1, TimeUnit.MINUTES)); }
public void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers) { timerService.createCalendarTimer(schedule, new TimerConfig(new EventConfig(event, qualifiers), false)); }
Scheduler { public void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers) { timerService.createCalendarTimer(schedule, new TimerConfig(new EventConfig(event, qualifiers), false)); } }
Scheduler { public void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers) { timerService.createCalendarTimer(schedule, new TimerConfig(new EventConfig(event, qualifiers), false)); }  }
Scheduler { public void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers) { timerService.createCalendarTimer(schedule, new TimerConfig(new EventConfig(event, qualifiers), false)); }  void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers); }
Scheduler { public void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers) { timerService.createCalendarTimer(schedule, new TimerConfig(new EventConfig(event, qualifiers), false)); }  void scheduleEvent(ScheduleExpression schedule, Object event, Annotation... qualifiers);  }