Package ru.bgcrm.util

Class AlarmSender

java.lang.Object
java.lang.Thread
ru.bgcrm.util.AlarmSender
All Implemented Interfaces:
Runnable

public class AlarmSender extends Thread
  • Method Details

    • initSender

      public static void initSender(Setup setup)
    • needAlarmSend

      public static boolean needAlarmSend(String key, long time, long defaultInterval)
    • sendAlarm

      public static void sendAlarm(AlarmErrorMessage message, long time)
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread