您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
索引
帮助
概要:
嵌套
字段
构造器
方法
详细资料:
字段
构造器
方法
概要:
嵌套 |
字段 |
构造器 |
方法
详细资料:
字段 |
构造器 |
方法
SEARCH
程序包
com.codingapi.springboot.framework.handler
接口 IHandler<T extends
IEvent
>
类型参数:
T
- Event 类型
public interface
IHandler<T extends
IEvent
>
handler 订阅
方法概要
所有方法
实例方法
抽象方法
默认方法
修饰符和类型
方法
说明
default void
error
(
Exception
exception)
异常回掉,在多订阅的情况下,为了实现订阅的独立性,将异常的处理放在回掉函数中。
void
handler
(
T
event)
订阅触发
方法详细资料
handler
void
handler
(
T
event)
订阅触发
参数:
event
- 触发event
error
default
void
error
(
Exception
exception)
异常回掉,在多订阅的情况下,为了实现订阅的独立性,将异常的处理放在回掉函数中。
参数:
exception
- 异常信息