MCPcopy Index your code
hub / github.com/grpc/grpc-java / getDeadline

Method getDeadline

api/src/context/java/io/grpc/Context.java:489–494  ·  view source on GitHub ↗

A context may have an associated Deadline at which it will be automatically cancelled. @return A io.grpc.Deadline or null if no deadline is set.

()

Source from the content-addressed store, hash-verified

487 * @return A {@link io.grpc.Deadline} or {@code null} if no deadline is set.
488 */
489 public Deadline getDeadline() {
490 if (cancellableAncestor == null) {
491 return null;
492 }
493 return cancellableAncestor.getDeadline();
494 }
495
496 /**
497 * Add a listener that will be notified when the context becomes cancelled.

Callers 15

withDeadlineMethod · 0.95
PendingCallMethod · 0.45
startInternalMethod · 0.45
applyMethodConfigMethod · 0.45
effectiveDeadlineMethod · 0.45
interceptCallMethod · 0.45
interceptCallMethod · 0.45
streamClosedMethod · 0.45

Calls

no outgoing calls