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

Method cancel

core/src/main/java/io/grpc/internal/Rescheduler.java:69–75  ·  view source on GitHub ↗
(boolean permanent)

Source from the content-addressed store, hash-verified

67
68 // must be called from channel executor
69 void cancel(boolean permanent) {
70 enabled = false;
71 if (permanent && wakeUp != null) {
72 wakeUp.cancel(false);
73 wakeUp = null;
74 }
75 }
76
77 private final class FutureRunnable implements Runnable {
78 @Override

Callers

nothing calls this directly

Calls 1

cancelMethod · 0.65

Tested by

no test coverage detected