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