Package | Description |
---|---|
alluxio |
Modifier and Type | Method and Description |
---|---|
static <T> void |
RpcUtils.call(org.slf4j.Logger logger,
RpcUtils.RpcCallableThrowsIOException<T> callable,
String methodName,
boolean failureOk,
String description,
io.grpc.stub.StreamObserver<T> responseObserver,
Object... args)
Calls the given
RpcUtils.RpcCallableThrowsIOException and handles any exceptions thrown. |
static <T> void |
RpcUtils.call(org.slf4j.Logger logger,
RpcUtils.RpcCallableThrowsIOException<T> callable,
String methodName,
String description,
io.grpc.stub.StreamObserver<T> responseObserver,
Object... args)
Calls the given
RpcUtils.RpcCallableThrowsIOException and handles any exceptions thrown. |
static <T> T |
RpcUtils.callAndReturn(org.slf4j.Logger logger,
RpcUtils.RpcCallableThrowsIOException<T> callable,
String methodName,
boolean failureOk,
String description,
Object... args)
Calls the given
RpcUtils.RpcCallableThrowsIOException and returns its result. |
Copyright © 2023. All Rights Reserved.