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) Deadline
CallOptions.Builder. deadline
private Deadline
CallOptions. deadline
private Deadline
Context.CancellableContext. deadline
Methods in io.grpc that return Deadline Modifier and Type Method Description static Deadline
Deadline. after(long duration, java.util.concurrent.TimeUnit units)
Create a deadline that will expire at the specified offset based on thesystem ticker
.static Deadline
Deadline. 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
.Deadline
CallOptions. getDeadline()
Returns the deadline ornull
if the deadline is not set.Deadline
Context.CancellableContext. getDeadline()
Deadline
Context. getDeadline()
A context may have an associatedDeadline
at which it will be automatically cancelled.Deadline
Deadline. minimum(Deadline other)
Return the minimum deadline ofthis
or an other deadline.Deadline
Deadline. 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 void
Deadline. checkTicker(Deadline other)
int
Deadline. compareTo(Deadline that)
boolean
Deadline. isBefore(Deadline other)
Isthis
deadline before another.Deadline
Deadline. minimum(Deadline other)
Return the minimum deadline ofthis
or an other deadline.private void
Context.CancellableContext. setUpDeadlineCancellation(Deadline deadline, java.util.concurrent.ScheduledExecutorService scheduler)
CallOptions
CallOptions. withDeadline(Deadline deadline)
Returns a newCallOptions
with the given absolute deadline.Context.CancellableContext
Context. 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 void
InProcessTransport.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 Deadline
ClientCallImpl. effectiveDeadline()
private static Deadline
ClientCallImpl. min(Deadline deadline0, Deadline deadline1)
Methods in io.grpc.internal with parameters of type Deadline Modifier and Type Method Description private boolean
DelayedClientCall. isAbeforeB(Deadline a, Deadline b)
private static Deadline
ClientCallImpl. min(Deadline deadline0, Deadline deadline1)
private java.util.concurrent.ScheduledFuture<?>
DelayedClientCall. scheduleDeadlineIfNeeded(java.util.concurrent.ScheduledExecutorService scheduler, Deadline deadline)
void
AbstractClientStream. setDeadline(Deadline deadline)
void
ClientStream. setDeadline(Deadline deadline)
Sets the effective deadline of the RPC.void
DelayedStream. setDeadline(Deadline deadline)
void
ForwardingClientStream. setDeadline(Deadline deadline)
void
NoopClientStream. setDeadline(Deadline deadline)
void
RetriableStream. 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 Deadline
BinlogHelper. min(Deadline deadline0, Deadline deadline1)
Methods in io.grpc.protobuf.services with parameters of type Deadline Modifier and Type Method Description private static Deadline
BinlogHelper. 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 S
AbstractStub. withDeadline(Deadline deadline)
Returns a new stub with an absolute deadline.
-