MCPcopy Create free account
hub / github.com/grpc/grpc-java / convert

Method convert

api/src/main/java/io/grpc/InternalTimeUtils.java:23–25  ·  view source on GitHub ↗
(Duration duration)

Source from the content-addressed store, hash-verified

21@Internal
22public final class InternalTimeUtils {
23 public static long convert(Duration duration) {
24 return TimeUtils.convertToNanos(duration);
25 }
26}

Callers 13

getDelayMethod · 0.45
getDelayMethod · 0.45
timeRemainingMethod · 0.45
scheduleMethod · 0.45
scheduleDurationMethod · 0.45
scheduleHandle_cancelMethod · 0.45
scheduleMethod · 0.45
getDelayMethod · 0.45
getDelayMethod · 0.45

Calls 1

convertToNanosMethod · 0.95

Tested by 11

getDelayMethod · 0.36
getDelayMethod · 0.36
scheduleMethod · 0.36
scheduleDurationMethod · 0.36
scheduleHandle_cancelMethod · 0.36
scheduleMethod · 0.36
getDelayMethod · 0.36
getDelayMethod · 0.36