Uses of Class
org.opendaylight.serviceutils.tools.rpc.FutureRpcResults.FutureRpcResultBuilder
-
Uses of FutureRpcResults.FutureRpcResultBuilder in org.opendaylight.serviceutils.tools.rpc
Modifier and TypeMethodDescriptionstatic <I,
O> FutureRpcResults.FutureRpcResultBuilder <I, O> FutureRpcResults.fromBuilder
(org.slf4j.Logger logger, String rpcMethodName, @Nullable I input, Callable<O> callable) static <I,
O> FutureRpcResults.FutureRpcResultBuilder <I, O> FutureRpcResults.fromListenableFuture
(org.slf4j.Logger logger, String rpcMethodName, @Nullable I input, Callable<com.google.common.util.concurrent.ListenableFuture<O>> callable) Create a Builder for a ListenableFuture to Future<RpcResult<O>> transformer.FutureRpcResults.FutureRpcResultBuilder.onEnterLogLevel
(FutureRpcResults.LogLevel level) Sets a custom on-enter SLF4J logging level.Sets a custom on-failure action, for a given exception.FutureRpcResults.FutureRpcResultBuilder.onFailureLogLevel
(FutureRpcResults.LogLevel level) Sets a custom on-failure SLF4J logging level, in case of an exception.Sets a custom on-success action, for a given output.FutureRpcResults.FutureRpcResultBuilder.onSuccessLogLevel
(FutureRpcResults.LogLevel level) Sets a custom on-success SLF4J logging level.FutureRpcResults.FutureRpcResultBuilder.withRpcErrorMessage
(Function<Throwable, String> newRpcErrorMessageFunction) Set a customRpcError
message function, for a given exception.