类 LambdaSafe.LambdaSafeCallback<C,A,SELF extends LambdaSafe.LambdaSafeCallback<C,A,SELF>>
java.lang.Object
org.springframework.boot.util.LambdaSafe.LambdaSafeCallback<C,A,SELF>
- 类型参数:
C
- the callback typeA
- the primary argument typeSELF
- the self class reference
- 直接已知子类:
LambdaSafe.Callback
,LambdaSafe.Callbacks
- 封闭类:
LambdaSafe
protected abstract static class LambdaSafe.LambdaSafeCallback<C,A,SELF extends LambdaSafe.LambdaSafeCallback<C,A,SELF>>
extends Object
Abstract base class for lambda safe callbacks.
-
方法概要
修饰符和类型方法说明protected final <R> LambdaSafe.InvocationResult
<R> withLogger
(Class<?> loggerSource) Use the specified logger source to report any lambda failures.withLogger
(Log logger) Use the specified logger to report any lambda failures.
-
方法详细资料
-
withLogger
Use the specified logger source to report any lambda failures.- 参数:
loggerSource
- the logger source to use- 返回:
- this instance
-
withLogger
Use the specified logger to report any lambda failures.- 参数:
logger
- the logger to use- 返回:
- this instance
-
invoke
-