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

Method cancelled

api/src/test/java/io/grpc/ContextTest.java:80–84  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

78 private final Context.CancellationListener cancellationListener =
79 new Context.CancellationListener() {
80 @Override
81 public void cancelled(Context context) {
82 listenerNotifedContext = context;
83 deadlineLatch.countDown();
84 }
85 };
86
87 private Context observed;

Callers

nothing calls this directly

Calls 3

setMethod · 0.65
getMethod · 0.65
isExpiredMethod · 0.45

Tested by

no test coverage detected