Home
last modified time | relevance | path

Searched refs:withDeadline (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java54 .withDeadline(sampleDeadline)
100 allSet.withDeadline(Deadline.after(314, NANOSECONDS)).withDeadline(sampleDeadline))) in noStrayModifications()
112 CallOptions options1 = CallOptions.DEFAULT.withDeadline(deadline); in mutation()
116 CallOptions options2 = options1.withDeadline(null); in mutation()
144 .withDeadline(null) in toStringMatches_noDeadline_default()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DContextTest.java594 Context.CancellableContext parent = Context.ROOT.withDeadline(sooner, scheduler); in earlierParentDeadlineTakesPrecedenceOverLaterChildDeadline()
595 Context.CancellableContext child = parent.withDeadline(later, scheduler); in earlierParentDeadlineTakesPrecedenceOverLaterChildDeadline()
622 Context.CancellableContext parent = Context.ROOT.withDeadline(later, scheduler); in earlierChldDeadlineTakesPrecedenceOverLaterParentDeadline()
623 Context.CancellableContext child = parent.withDeadline(sooner, scheduler); in earlierChldDeadlineTakesPrecedenceOverLaterParentDeadline()
631 Context.CancellableContext parent = Context.ROOT.withDeadline(deadline, scheduler); in forkingContextDoesNotCarryDeadline()
639 Context.CancellableContext parent = Context.ROOT.withDeadline(deadline, scheduler); in cancellationDoesNotExpireDeadline()
646 Context base = Context.current().withDeadline(Deadline.after(1, TimeUnit.SECONDS), scheduler); in absoluteDeadlineTriggersAndPropagates()
661 Context base = Context.current().withDeadline(Deadline.after(1, TimeUnit.SECONDS), scheduler); in relativeDeadlineTriggersAndPropagates()
676 Context base = Context.current().withDeadline(Deadline.after(2, TimeUnit.SECONDS), scheduler); in innerDeadlineCompletesBeforeOuter()
677 Context child = base.withDeadline(Deadline.after(1, TimeUnit.SECONDS), scheduler); in innerDeadlineCompletesBeforeOuter()
[all …]
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/
DAbstractStub.java113 public final S withDeadline(@Nullable Deadline deadline) { in withDeadline() method in AbstractStub
114 return build(channel, callOptions.withDeadline(deadline)); in withDeadline()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DCallOptions.java121 public CallOptions withDeadline(@Nullable Deadline deadline) { in withDeadline() method in CallOptions
132 return withDeadline(Deadline.after(duration, unit)); in withDeadlineAfter()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/stub/
DStubConfigTest.java76 TestServiceGrpc.TestServiceBlockingStub reconfiguredStub = stub.withDeadline(deadline); in testConfigureDeadline()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DContext.java271 return withDeadline(Deadline.after(duration, unit), scheduler); in withDeadlineAfter()
299 public CancellableContext withDeadline(Deadline deadline, in withDeadline() method in Context
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServiceConfigInterceptorTest.java247 methodDescriptor, CallOptions.DEFAULT.withDeadline(existingDeadline), channel); in nearerDeadlineKept_existing()
265 methodDescriptor, CallOptions.DEFAULT.withDeadline(existingDeadline), channel); in nearerDeadlineKept_new()
DClientCallImplTest.java791 baseCallOptions.withDeadline(Deadline.after(1, TimeUnit.SECONDS)), in expiredDeadlineCancelsStream_CallOptions()
839 baseCallOptions.withDeadline(Deadline.after(1, TimeUnit.SECONDS)), in streamCancelAbortsDeadlineTimer()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DCascadingTest.java216 blockingStub.withDeadline(initialDeadline).unaryCall(SimpleRequest.getDefaultInstance()); in testDeadlinePropagation()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServiceConfigInterceptor.java370 callOptions = callOptions.withDeadline(newDeadline); in interceptCall()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinlogHelperTest.java891 .withDeadline( in clientDeadlineLogged_deadlineSetViaContext()
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...