Uses of Class
io.grpc.Context.CancellableContext
Packages that use Context.CancellableContext
-
Uses of Context.CancellableContext in io.grpc
Methods in io.grpc that return Context.CancellableContextModifier and TypeMethodDescriptionContext.withCancellation()
Create a new context which is independently cancellable and also cascades cancellation from its parent.Context.withDeadline
(Deadline newDeadline, ScheduledExecutorService scheduler) Create a new context which will cancel itself at the givenDeadline
.Context.withDeadlineAfter
(long duration, TimeUnit unit, ScheduledExecutorService scheduler) Create a new context which will cancel itself after the givenduration
from now.