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

Method run

xds/src/main/java/io/grpc/xds/client/XdsClientImpl.java:141–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 syncContext.execute(
140 new Runnable() {
141 @Override
142 public void run() {
143 if (isShutdown) {
144 return;
145 }
146 isShutdown = true;
147 for (ControlPlaneClient xdsChannel : serverCpClientMap.values()) {
148 xdsChannel.shutdown();
149 }
150 for (final LoadReportClient lrsClient : serverLrsClientMap.values()) {
151 lrsClient.stopLoadReporting();
152 }
153 cleanUpResourceTimers(null);
154 activatedCpClients.clear();
155 }
156 });
157 }
158

Callers

nothing calls this directly

Calls 15

cleanUpResourceTimersMethod · 0.95
valuesMethod · 0.80
stopLoadReportingMethod · 0.80
containsKeyMethod · 0.80
isWatchedMethod · 0.80
cancelResourceWatchMethod · 0.80
startLoadReportingMethod · 0.80
shutdownMethod · 0.65
clearMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected