Uses of Class
io.grpc.Deadline
Packages that use Deadline
-
Uses of Deadline in io.grpc
Modifier and TypeMethodDescriptionstatic DeadlineCreate a deadline that will expire at the specified offset based on thesystem ticker.static DeadlineDeadline.after(long duration, TimeUnit units, Deadline.Ticker ticker) Create a deadline that will expire at the specified offset based on the givenDeadline.Ticker.CallOptions.getDeadline()Returns the deadline ornullif the deadline is not set.Context.CancellableContext.getDeadline()Context.getDeadline()A context may have an associatedDeadlineat which it will be automatically cancelled.Return the minimum deadline ofthisor an other deadline.Create a new deadline that is offset fromthis.Modifier and TypeMethodDescriptionintbooleanIsthisdeadline before another.Return the minimum deadline ofthisor an other deadline.CallOptions.withDeadline(Deadline deadline) Returns a newCallOptionswith the given absolute deadline.Context.withDeadline(Deadline newDeadline, ScheduledExecutorService scheduler) Create a new context which will cancel itself at the givenDeadline. -
Uses of Deadline in io.grpc.stub
Methods in io.grpc.stub with parameters of type DeadlineModifier and TypeMethodDescriptionfinal SAbstractStub.withDeadline(Deadline deadline) Returns a new stub with an absolute deadline.