Searched refs:TIMEOUT_KEY (Results 1 – 10 of 10) sorted by relevance
23 import static io.grpc.internal.GrpcUtil.TIMEOUT_KEY;126 headers.discardAll(TIMEOUT_KEY); in setDeadline()128 headers.put(TIMEOUT_KEY, effectiveTimeout); in setDeadline()
24 import static io.grpc.internal.GrpcUtil.TIMEOUT_KEY;500 Long timeoutNanos = headers.get(TIMEOUT_KEY); in createContext()
83 public static final Metadata.Key<Long> TIMEOUT_KEY = field in GrpcUtil
20 import static io.grpc.internal.GrpcUtil.TIMEOUT_KEY;683 headers.discardAll(TIMEOUT_KEY);685 headers.put(TIMEOUT_KEY, effectiveTimeout);
440 assertTrue(headers.containsKey(GrpcUtil.TIMEOUT_KEY)); in deadlineTimeoutPopulatedToHeaders()441 assertThat(headers.get(GrpcUtil.TIMEOUT_KEY).longValue()) in deadlineTimeoutPopulatedToHeaders()443 assertThat(headers.get(GrpcUtil.TIMEOUT_KEY).longValue()) in deadlineTimeoutPopulatedToHeaders()
874 assertFalse(headers.containsKey(GrpcUtil.TIMEOUT_KEY)); in timeoutShouldNotBeSet()
572 #define TIMEOUT_KEY "grpc-timeout" macro
416 Long timeoutNanos = headers.get(GrpcUtil.TIMEOUT_KEY);
1092 clientInitial.put(GrpcUtil.TIMEOUT_KEY, TimeUnit.MILLISECONDS.toNanos(1234)); in serverInterceptor()
1057 requestHeadersCapture.get().get(GrpcUtil.TIMEOUT_KEY)); in sendsTimeoutHeader()