Uses of Class
io.grpc.Deadline
Packages that use Deadline
Package
Description
The gRPC core public API.
The in-process transport which is for when a server is in the same process as the client.
Interfaces and implementations that are internal to gRPC.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
API for the Stub layer.
-
Uses of Deadline in io.grpc
Modifier and TypeClassDescriptionfinal classAn absolute point in time, generally for tracking when a task should be completed.Modifier and TypeFieldDescription(package private) DeadlineCallOptions.Builder.deadlineprivate final DeadlineCallOptions.deadlineprivate final DeadlineContext.CancellableContext.deadlineModifier 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 TypeMethodDescriptionprivate voidDeadline.checkTicker(Deadline other) intbooleanIsthisdeadline before another.Return the minimum deadline ofthisor an other deadline.private voidContext.CancellableContext.setUpDeadlineCancellation(Deadline deadline, ScheduledExecutorService scheduler) 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.ModifierConstructorDescriptionprivateCancellableContext(Context parent, Deadline deadline) Create a cancellable context that has a deadline. -
Uses of Deadline in io.grpc.inprocess
Methods in io.grpc.inprocess with parameters of type DeadlineModifier and TypeMethodDescriptionvoidInProcessTransport.InProcessStream.InProcessClientStream.setDeadline(Deadline deadline) -
Uses of Deadline in io.grpc.internal
Methods in io.grpc.internal that return DeadlineModifier and TypeMethodDescriptionprivate DeadlineClientCallImpl.effectiveDeadline()private static DeadlineMethods in io.grpc.internal with parameters of type DeadlineModifier and TypeMethodDescriptionprivate booleanDelayedClientCall.isAbeforeB(Deadline a, Deadline b) private static Deadlineprivate ScheduledFuture<?> DelayedClientCall.scheduleDeadlineIfNeeded(ScheduledExecutorService scheduler, Deadline deadline) voidAbstractClientStream.setDeadline(Deadline deadline) voidClientStream.setDeadline(Deadline deadline) Sets the effective deadline of the RPC.voidDelayedStream.setDeadline(Deadline deadline) voidForwardingClientStream.setDeadline(Deadline deadline) voidNoopClientStream.setDeadline(Deadline deadline) final voidRetriableStream.setDeadline(Deadline deadline) Constructors in io.grpc.internal with parameters of type DeadlineModifierConstructorDescription(package private)CancellationHandler(Deadline deadline, boolean contextIsDeadlineSource) protectedDelayedClientCall(Executor callExecutor, ScheduledExecutorService scheduler, Deadline deadline) -
Uses of Deadline in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return DeadlineMethods in io.grpc.protobuf.services with parameters of type Deadline -
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.