Uses of Class
io.grpc.Deadline
Packages that use Deadline
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
API for the Stub layer.
-
Uses of Deadline in io.grpc
Modifier and TypeMethodDescriptionstatic Deadline
Create a deadline that will expire at the specified offset based on thesystem ticker
.static Deadline
Deadline.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 ornull
if the deadline is not set.Context.CancellableContext.getDeadline()
Context.getDeadline()
A context may have an associatedDeadline
at which it will be automatically cancelled.Return the minimum deadline ofthis
or an other deadline.Create a new deadline that is offset fromthis
.Modifier and TypeMethodDescriptionint
boolean
Isthis
deadline before another.Return the minimum deadline ofthis
or an other deadline.CallOptions.withDeadline
(Deadline deadline) Returns a newCallOptions
with 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.internal
Methods in io.grpc.internal with parameters of type DeadlineModifier and TypeMethodDescriptionvoid
AbstractClientStream.setDeadline
(Deadline deadline) void
ClientStream.setDeadline
(Deadline deadline) Sets the effective deadline of the RPC.void
NoopClientStream.setDeadline
(Deadline deadline) Constructors in io.grpc.internal with parameters of type DeadlineModifierConstructorDescriptionprotected
DelayedClientCall
(Executor callExecutor, ScheduledExecutorService scheduler, Deadline deadline) -
Uses of Deadline in io.grpc.stub
Methods in io.grpc.stub with parameters of type DeadlineModifier and TypeMethodDescriptionfinal S
AbstractStub.withDeadline
(Deadline deadline) Returns a new stub with an absolute deadline.