Uses of Class
io.grpc.Deadline
-
Packages that use Deadline Package Description io.grpc The gRPC core public API.io.grpc.inprocess The in-process transport which is for when a server is in the same process as the client.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.stub API for the Stub layer. -
-
Uses of Deadline in io.grpc
Fields in io.grpc declared as Deadline Modifier and Type Field Description (package private) DeadlineCallOptions.Builder. deadlineprivate DeadlineCallOptions. deadlineprivate DeadlineContext.CancellableContext. deadlineMethods in io.grpc that return Deadline Modifier and Type Method Description static DeadlineDeadline. after(long duration, java.util.concurrent.TimeUnit units)Create a deadline that will expire at the specified offset based on thesystem ticker.static DeadlineDeadline. after(long duration, java.util.concurrent.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, java.util.concurrent.TimeUnit units)Create a new deadline that is offset fromthis.Methods in io.grpc with parameters of type Deadline Modifier and Type Method Description private voidDeadline. checkTicker(Deadline other)intDeadline. compareTo(Deadline that)booleanDeadline. isBefore(Deadline other)Isthisdeadline before another.DeadlineDeadline. minimum(Deadline other)Return the minimum deadline ofthisor an other deadline.private voidContext.CancellableContext. setUpDeadlineCancellation(Deadline deadline, java.util.concurrent.ScheduledExecutorService scheduler)CallOptionsCallOptions. withDeadline(Deadline deadline)Returns a newCallOptionswith the given absolute deadline.Context.CancellableContextContext. withDeadline(Deadline newDeadline, java.util.concurrent.ScheduledExecutorService scheduler)Create a new context which will cancel itself at the givenDeadline.Constructors in io.grpc with parameters of type Deadline Constructor Description CancellableContext(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 Deadline Modifier and Type Method Description voidInProcessTransport.InProcessStream.InProcessClientStream. setDeadline(Deadline deadline) -
Uses of Deadline in io.grpc.internal
Methods in io.grpc.internal that return Deadline Modifier and Type Method Description private DeadlineClientCallImpl. effectiveDeadline()private static DeadlineClientCallImpl. min(Deadline deadline0, Deadline deadline1)Methods in io.grpc.internal with parameters of type Deadline Modifier and Type Method Description private booleanDelayedClientCall. isAbeforeB(Deadline a, Deadline b)private static DeadlineClientCallImpl. min(Deadline deadline0, Deadline deadline1)private java.util.concurrent.ScheduledFuture<?>DelayedClientCall. scheduleDeadlineIfNeeded(java.util.concurrent.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)voidRetriableStream. setDeadline(Deadline deadline)Constructors in io.grpc.internal with parameters of type Deadline Constructor Description CancellationHandler(Deadline deadline, boolean contextIsDeadlineSource)DelayedClientCall(java.util.concurrent.Executor callExecutor, java.util.concurrent.ScheduledExecutorService scheduler, Deadline deadline) -
Uses of Deadline in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services that return Deadline Modifier and Type Method Description private static DeadlineBinlogHelper. min(Deadline deadline0, Deadline deadline1)Methods in io.grpc.protobuf.services with parameters of type Deadline Modifier and Type Method Description private static DeadlineBinlogHelper. min(Deadline deadline0, Deadline deadline1) -
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.
-