@InternalApi(value="Exposed for testing") public class SpannerInterceptorProvider extends Object implements com.google.api.gax.grpc.GrpcInterceptorProvider
GapicSpannerRpc
to handle logging and error augmentation by intercepting grpc calls.Modifier and Type | Method and Description |
---|---|
static SpannerInterceptorProvider |
createDefault() |
List<ClientInterceptor> |
getInterceptors() |
SpannerInterceptorProvider |
with(ClientInterceptor clientInterceptor) |
public static SpannerInterceptorProvider createDefault()
public SpannerInterceptorProvider with(ClientInterceptor clientInterceptor)
public List<ClientInterceptor> getInterceptors()
getInterceptors
in interface com.google.api.gax.grpc.GrpcInterceptorProvider
Copyright © 2019 Google LLC. All rights reserved.