MCPcopy Create free account
hub / github.com/grpc/grpc-java / getChannel

Method getChannel

api/src/main/java/io/grpc/InternalChannelz.java:158–161  ·  view source on GitHub ↗

Returns a channel.

(long id)

Source from the content-addressed store, hash-verified

156
157 /** Returns a channel. */
158 @Nullable
159 public InternalInstrumented<ChannelStats> getChannel(long id) {
160 return rootChannels.get(id);
161 }
162
163 /** Returns a subchannel. */
164 @Nullable

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected