Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grpc/grpc-java
/ onHalfClose
Method
onHalfClose
api/src/test/java/io/grpc/ContextsTest.java:66–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
64
}
65
66
@Override
public
void
onHalfClose() {
67
assertSame(uniqueContext, Context.current());
68
methodCalls.add(2);
69
}
70
71
@Override
public
void
onCancel() {
72
assertSame(uniqueContext, Context.current());
Callers
2
interceptCall_basic
Method · 0.45
interceptCall_restoresIfListenerThrows
Method · 0.45
Calls
2
current
Method · 0.95
add
Method · 0.65
Tested by
no test coverage detected