Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grpc/grpc-java
/ getServer
Method
getServer
api/src/main/java/io/grpc/InternalChannelz.java:183–186 ·
view source on GitHub ↗
Returns a server.
(long id)
Source
from the content-addressed store, hash-verified
181
182
/** Returns a server. */
183
@Nullable
184
public
InternalInstrumented<ServerStats> getServer(long id) {
185
return
servers.get(id);
186
}
187
188
/** Returns socket refs
for
a server. */
189
@Nullable
Callers
nothing calls this directly
Calls
1
get
Method · 0.65
Tested by
no test coverage detected