@InternalApi(value="Exposed for testing") public class SpannerInterceptorProvider extends Object implements 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 GrpcInterceptorProvider
Copyright © 2019 Google LLC. All rights reserved.