Class SystemInfoInterceptor
java.lang.Object
io.temporal.serviceclient.SystemInfoInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionSystemInfoInterceptor(CompletableFuture<GetSystemInfoResponse.Capabilities> serverCapabilitiesFuture) -
Method Summary
Modifier and TypeMethodDescriptiongetServerCapabilitiesOrThrow(io.grpc.Channel channel, io.grpc.Deadline deadline) getServerCapabilitiesWithRetryOrThrow(CompletableFuture<GetSystemInfoResponse.Capabilities> future, io.grpc.Channel channel, io.grpc.Deadline deadline) <ReqT,RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Constructor Details
-
SystemInfoInterceptor
public SystemInfoInterceptor(CompletableFuture<GetSystemInfoResponse.Capabilities> serverCapabilitiesFuture)
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCallin interfaceio.grpc.ClientInterceptor
-
getServerCapabilitiesWithRetryOrThrow
public static GetSystemInfoResponse.Capabilities getServerCapabilitiesWithRetryOrThrow(@Nonnull CompletableFuture<GetSystemInfoResponse.Capabilities> future, @Nonnull io.grpc.Channel channel, @Nullable io.grpc.Deadline deadline) -
getServerCapabilitiesOrThrow
public static GetSystemInfoResponse.Capabilities getServerCapabilitiesOrThrow(io.grpc.Channel channel, @Nullable io.grpc.Deadline deadline)
-