Package org.springframework.boot.util
Class LambdaSafe.LambdaSafeCallback<C,A,SELF extends LambdaSafe.LambdaSafeCallback<C,A,SELF>>    
java.lang.Object
org.springframework.boot.util.LambdaSafe.LambdaSafeCallback<C,A,SELF>  
- Type Parameters:
- C- the callback type
- A- the primary argument type
- SELF- the self class reference
- Direct Known Subclasses:
- LambdaSafe.Callback,- LambdaSafe.Callbacks
- Enclosing class:
- 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.
- 
Method SummaryModifier and TypeMethodDescriptionprotected 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.
- 
Method Details- 
withLoggerUse the specified logger source to report any lambda failures.- Parameters:
- loggerSource- the logger source to use
- Returns:
- this instance
 
- 
withLoggerUse the specified logger to report any lambda failures.- Parameters:
- logger- the logger to use
- Returns:
- this instance
 
- 
invoke
 
-