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

Method shutdown

xds/src/main/java/io/grpc/xds/XdsNameResolver.java:260–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 }
259
260 @Override
261 public void shutdown() {
262 logger.log(XdsLogLevel.INFO, "Shutdown");
263 if (resolveState != null) {
264 resolveState.shutdown();
265 }
266 if (xdsClient != null) {
267 xdsClient = xdsClientPool.returnObject(xdsClient);
268 }
269 }
270
271 @VisibleForTesting
272 static Map<String, ?> generateServiceConfigWithMethodConfig(

Callers

nothing calls this directly

Calls 3

shutdownMethod · 0.65
returnObjectMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected