Class ReactionsObservedEventScheduler

java.lang.Object
ch.admin.bit.jeap.reaction.observer.events.scheduler.ReactionsObservedEventScheduler
All Implemented Interfaces:
org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class ReactionsObservedEventScheduler extends Object implements org.springframework.context.SmartLifecycle
  • Constructor Details

  • Method Details

    • sendEvent

      @Scheduled(fixedRateString="${jeap.reaction.observer.events.observed-event-rate-seconds:300}", initialDelayString="${jeap.reaction.observer.events.observed-event-rate-seconds:300}", timeUnit=SECONDS) public void sendEvent()
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle