Uses of Class
io.grpc.Deadline
-
Packages that use Deadline Package Description io.grpc The gRPC core public API.io.grpc.stub API for the Stub layer. -
-
Uses of Deadline in io.grpc
Methods in io.grpc that return Deadline Modifier and Type Method Description static DeadlineDeadline. after(long duration, TimeUnit units)Create 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.DeadlineCallOptions. getDeadline()Returns the deadline ornullif the deadline is not set.DeadlineContext.CancellableContext. getDeadline()DeadlineContext. getDeadline()A context may have an associatedDeadlineat which it will be automatically cancelled.DeadlineDeadline. minimum(Deadline other)Return the minimum deadline ofthisor an other deadline.DeadlineDeadline. offset(long offset, TimeUnit units)Create a new deadline that is offset fromthis.Methods in io.grpc with parameters of type Deadline Modifier and Type Method Description intDeadline. compareTo(Deadline that)booleanDeadline. isBefore(Deadline other)Isthisdeadline before another.DeadlineDeadline. minimum(Deadline other)Return the minimum deadline ofthisor an other deadline.CallOptionsCallOptions. withDeadline(Deadline deadline)Returns a newCallOptionswith the given absolute deadline.Context.CancellableContextContext. 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 Deadline Modifier and Type Method Description SAbstractStub. withDeadline(Deadline deadline)Returns a new stub with an absolute deadline.
-