public class OperateMonitorUtils
extends java.lang.Object
构造器和说明 |
---|
OperateMonitorUtils() |
限定符和类型 | 方法和说明 |
---|---|
static void |
notifyHostSyncFile(java.lang.String path,
boolean isCustomPath) |
static void |
pushMessage(ScheduleTask scheduleTask,
java.lang.String currentUserName,
java.lang.String pushMsg) |
static void |
scheduleError(FRLogger log,
ScheduleTask scheduleTask,
java.lang.String msg,
java.lang.Throwable e)
记录定时器的日志(错误级别)
|
static void |
scheduleError(FRLogger log,
ScheduleTask scheduleTask,
java.lang.String msg,
java.lang.Throwable e,
java.lang.String detailMsg)
记录定时器的日志(错误级别)
|
static void |
scheduleInfo(FRLogger log,
ScheduleTask scheduleTask,
java.lang.String msg)
记录定时器的日志(信息级别)
|
static void |
scheduleInfo(FRLogger log,
ScheduleTask scheduleTask,
java.lang.String msg,
java.lang.String detailMsg)
记录定时器日志(信息级别)
|
public static void scheduleInfo(FRLogger log, ScheduleTask scheduleTask, java.lang.String msg)
taskName
- 定时任务名称msg
- 日志消息public static void scheduleError(FRLogger log, ScheduleTask scheduleTask, java.lang.String msg, java.lang.Throwable e)
msg
- 日志消息e
- 抛错public static void scheduleInfo(FRLogger log, ScheduleTask scheduleTask, java.lang.String msg, java.lang.String detailMsg)
msg
- 日志消息detailMsg
- 详细消息public static void scheduleError(FRLogger log, ScheduleTask scheduleTask, java.lang.String msg, java.lang.Throwable e, java.lang.String detailMsg)
msg
- 日志消息e
- 抛错detailMsg
- 详细消息public static void pushMessage(ScheduleTask scheduleTask, java.lang.String currentUserName, java.lang.String pushMsg) throws java.lang.Exception
java.lang.Exception
public static void notifyHostSyncFile(java.lang.String path, boolean isCustomPath)