Home
last modified time | relevance | path

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

/external/grpc-grpc-java/context/src/main/java/io/grpc/
DDeadline.java57 private final long deadlineNanos; field in Deadline
69 deadlineNanos = baseInstant + offset; in Deadline()
79 if (deadlineNanos - ticker.read() <= 0) { in isExpired()
92 return this.deadlineNanos - other.deadlineNanos < 0; in isBefore()
114 return new Deadline(ticker, deadlineNanos, units.toNanos(offset), isExpired()); in offset()
125 if (!expired && deadlineNanos - nowNanos <= 0) { in timeRemaining()
128 return unit.convert(deadlineNanos - nowNanos, TimeUnit.NANOSECONDS); in timeRemaining()
140 return scheduler.schedule(task, deadlineNanos - ticker.read(), TimeUnit.NANOSECONDS); in runOnExpiration()
150 long diff = this.deadlineNanos - that.deadlineNanos; in compareTo()