C
- the callback typeA
- the primary argument typeSELF
- the self class referenceprotected abstract static class LambdaSafe.LambdaSafeCallback<C,A,SELF extends LambdaSafe.LambdaSafeCallback<C,A,SELF>> extends Object
Modifier and Type | Method and Description |
---|---|
protected <R> LambdaSafe.InvocationResult<R> |
invoke(C callbackInstance,
Supplier<R> supplier) |
SELF |
withLogger(Class<?> loggerSource)
Use the specified logger source to report any lambda failures.
|
SELF |
withLogger(org.apache.commons.logging.Log logger)
Use the specified logger to report any lambda failures.
|
public SELF withLogger(Class<?> loggerSource)
loggerSource
- the logger source to usepublic SELF withLogger(org.apache.commons.logging.Log logger)
logger
- the logger to useprotected final <R> LambdaSafe.InvocationResult<R> invoke(C callbackInstance, Supplier<R> supplier)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.