MCPcopy Create free account
hub / github.com/alibaba/GraphScope / shutdown

Method shutdown

python/graphscope/nx/classes/cache.py:244–255  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242 yield from self.node_id_cache
243
244 def shutdown(self):
245 for _, future in self.futures.items():
246 if future is not None:
247 future.cancel()
248
249 for _, future in self.futures.items():
250 if future is not None:
251 try:
252 future.result()
253 except concurrent.futures.CancelledError:
254 pass
255 future = None
256
257 def shutdown_executor(self):
258 self.executor.shutdown(wait=True)

Callers 12

clearMethod · 0.95
__del__Method · 0.45
shutdown_executorMethod · 0.45
stopMethod · 0.45
rpcCloseMethod · 0.45
flushMessagesMethod · 0.45
parallelExecuteMethod · 0.45
receiveMessageMethod · 0.45
receiveEdgeMessageMethod · 0.45
OutputMethod · 0.45
IncEvalMethod · 0.45
check_server_readyFunction · 0.45

Calls 2

itemsMethod · 0.80
cancelMethod · 0.45

Tested by

no test coverage detected