static <I,O> FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.fromBuilder(org.slf4j.Logger logger,
@Nullable I input,
Callable<org.opendaylight.yangtools.concepts.Builder<O>> builder) |
|
static <I,O> FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.fromBuilder(org.slf4j.Logger logger,
String rpcMethodName,
@Nullable I input,
Callable<org.opendaylight.yangtools.concepts.Builder<O>> builder) |
|
static <I,O> FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.fromListenableFuture(org.slf4j.Logger logger,
@Nullable I input,
Callable<com.google.common.util.concurrent.ListenableFuture<O>> callable) |
Create a Builder for a ListenableFuture to Future<RpcResult<O>> transformer.
|
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<I,O> |
FutureRpcResults.FutureRpcResultBuilder.onEnterLogLevel(FutureRpcResults.LogLevel level) |
Sets a custom on-enter SLF4J logging level.
|
FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.FutureRpcResultBuilder.onFailure(Consumer<Throwable> newOnFailureConsumer) |
Sets a custom on-failure action, for a given exception.
|
FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.FutureRpcResultBuilder.onFailureLogLevel(FutureRpcResults.LogLevel level) |
Sets a custom on-failure SLF4J logging level, in case of an exception.
|
FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.FutureRpcResultBuilder.onSuccess(Consumer<O> newOnSuccessFunction) |
Sets a custom on-success action, for a given output.
|
FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.FutureRpcResultBuilder.onSuccessLogLevel(FutureRpcResults.LogLevel level) |
Sets a custom on-success SLF4J logging level.
|
FutureRpcResults.FutureRpcResultBuilder<I,O> |
FutureRpcResults.FutureRpcResultBuilder.withRpcErrorMessage(Function<Throwable,String> newRpcErrorMessageFunction) |
Set a custom RpcError message function, for a given exception.
|