File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
xds/src/main/java/io/grpc/xds/internal/grpcservice Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1919import static com .google .common .base .Preconditions .checkNotNull ;
2020
2121import com .google .auto .value .AutoValue ;
22+ import com .google .common .annotations .VisibleForTesting ;
2223import io .grpc .ManagedChannel ;
2324import io .grpc .xds .internal .grpcservice .GrpcServiceConfig .GoogleGrpcConfig ;
2425import java .util .concurrent .atomic .AtomicReference ;
@@ -48,6 +49,7 @@ public CachedChannelManager() {
4849 /**
4950 * Constructor for testing to inject a channel creator.
5051 */
52+ @ VisibleForTesting
5153 public CachedChannelManager (Function <GrpcServiceConfig , ManagedChannel > channelCreator ) {
5254 this .channelCreator = checkNotNull (channelCreator , "channelCreator" );
5355 }
You can’t perform that action at this time.
0 commit comments