Interface SendNoticeService

  • All Implemented Interfaces:

    
    public interface SendNoticeService
    
                        
    Since:

    2.5.0

    Author:

    CJ

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit send(Notifiable notify) 发送通知消息,发送消息并非核心业务逻辑,所以这部分操作会在异步中完成,不会汇报结果也不会丢出异常
      abstract Unit sendThrowable(Throwable throwable) 检查异常,如果确认该异常跟Notifiable关联的,则发送它
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • send

         abstract Unit send(Notifiable notify)

        发送通知消息,发送消息并非核心业务逻辑,所以这部分操作会在异步中完成,不会汇报结果也不会丢出异常