Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/grpc/grpc-java
/ isCurrent
Method
isCurrent
api/src/context/java/io/grpc/Context.java:454–456 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
452
453
// Visible for testing
454
boolean isCurrent() {
455
return
current() == this;
456
}
457
458
/**
459
* Is this context cancelled.
Callers
3
rootCanBeAttached
Method · 0.95
cancellableContextIsAttached
Method · 0.95
typicalTryFinallyHandling
Method · 0.95
Calls
1
current
Method · 0.95
Tested by
3
rootCanBeAttached
Method · 0.76
cancellableContextIsAttached
Method · 0.76
typicalTryFinallyHandling
Method · 0.76