Package org.springframework.boot.util
Class LambdaSafe.Callback<C,A> 
java.lang.Object
org.springframework.boot.util.LambdaSafe.LambdaSafeCallback<C,A,LambdaSafe.Callback<C,A>>
   
org.springframework.boot.util.LambdaSafe.Callback<C,A> 
- Type Parameters:
- C- the callback type
- A- the primary argument type
- Enclosing class:
- LambdaSafe
public static final class LambdaSafe.Callback<C,A> 
extends LambdaSafe.LambdaSafeCallback<C,A,LambdaSafe.Callback<C,A>>   
Represents a single callback that can be invoked in a lambda safe way.
- 
Method SummaryMethods inherited from class org.springframework.boot.util.LambdaSafe.LambdaSafeCallbackinvoke, withFilter, withLogger, withLogger
- 
Method Details- 
invokeInvoke the callback instance where the callback method returns void.- Parameters:
- invoker- the invoker used to invoke the callback
 
- 
invokeAndInvoke the callback instance where the callback method returns a result.- Type Parameters:
- R- the result type
- Parameters:
- invoker- the invoker used to invoke the callback
- Returns:
- the result of the invocation (may be LambdaSafe.InvocationResult.noResult()if the callback was not invoked)
 
 
-