public class AlarmSender
extends java.lang.Thread
Modifier and Type | Method and Description |
---|---|
static void |
initSender(Setup setup) |
static boolean |
needAlarmSend(java.lang.String key,
long time,
long defaultInterval) |
void |
run() |
static void |
sendAlarm(AlarmErrorMessage message,
long time) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static void initSender(Setup setup)
public static boolean needAlarmSend(java.lang.String key, long time, long defaultInterval)
public static void sendAlarm(AlarmErrorMessage message, long time)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread