Package io.github.caijiang.common.notify
Interface SendNoticeService
-
- All Implemented Interfaces:
public interface SendNoticeService- Since:
2.5.0
CJ
-
-
Method Summary
Modifier and Type Method Description abstract Unitsend(Notifiable notify)发送通知消息,发送消息并非核心业务逻辑,所以这部分操作会在异步中完成,不会汇报结果也不会丢出异常 abstract UnitsendThrowable(Throwable throwable)检查异常,如果确认该异常跟Notifiable关联的,则发送它 -
-
Method Detail
-
send
abstract Unit send(Notifiable notify)
发送通知消息,发送消息并非核心业务逻辑,所以这部分操作会在异步中完成,不会汇报结果也不会丢出异常
-
sendThrowable
abstract Unit sendThrowable(Throwable throwable)
检查异常,如果确认该异常跟Notifiable关联的,则发送它
-
-
-
-