接口的使用
com.alibaba.csp.sentinel.util.function.BiConsumer
使用BiConsumer的程序包
-
com.alibaba.csp.sentinel中BiConsumer的使用
类型参数类型为BiConsumer的com.alibaba.csp.sentinel中的字段参数类型为BiConsumer的com.alibaba.csp.sentinel中的方法修饰符和类型方法说明abstract voidEntry.whenTerminate(BiConsumer<Context, Entry> handler) LikeCompletableFuturesince JDK 8, it guarantees specified handler is invoked when this entry terminated (exited), no matter it's blocked or permitted.