MCPcopy Index your code
hub / github.com/grpc/grpc-java / isBefore

Method isBefore

api/src/context/java/io/grpc/Deadline.java:137–140  ·  view source on GitHub ↗

Is this deadline before another. Two deadlines must be created using the same Ticker.

(Deadline other)

Source from the content-addressed store, hash-verified

135 * Ticker}.
136 */
137 public boolean isBefore(Deadline other) {
138 checkTicker(other);
139 return this.deadlineNanos - other.deadlineNanos < 0;
140 }
141
142 /**
143 * Return the minimum deadline of {@code this} or an other deadline. They must be created using

Callers 7

minimumMethod · 0.95
timeCanUnderflowMethod · 0.95
deadlineClampsMethod · 0.95
tickersDontMatchMethod · 0.95
isAbeforeBMethod · 0.80
timeCanOverflowMethod · 0.80

Calls 1

checkTickerMethod · 0.95

Tested by 5

timeCanUnderflowMethod · 0.76
deadlineClampsMethod · 0.76
tickersDontMatchMethod · 0.76
timeCanOverflowMethod · 0.64