Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
public
final
class
InternalTimeUtils {
23
public
static
long convert(Duration duration) {
24
return
TimeUtils.convertToNanos(duration);
25
}
26
}
Callers
13
getDelay
Method · 0.45
getDelay
Method · 0.45
timeRemaining
Method · 0.45
schedule
Method · 0.45
scheduleDuration
Method · 0.45
scheduleWithFixedDelayDuration
Method · 0.45
scheduleDueImmediately
Method · 0.45
scheduleHandle_cancel
Method · 0.45
scheduledHandle_cancelRacesWithTimerExpiration
Method · 0.45
schedule
Method · 0.45
getDelay
Method · 0.45
getDelay
Method · 0.45
Calls
1
convertToNanos
Method · 0.95
Tested by
11
getDelay
Method · 0.36
getDelay
Method · 0.36
schedule
Method · 0.36
scheduleDuration
Method · 0.36
scheduleWithFixedDelayDuration
Method · 0.36
scheduleDueImmediately
Method · 0.36
scheduleHandle_cancel
Method · 0.36
scheduledHandle_cancelRacesWithTimerExpiration
Method · 0.36
schedule
Method · 0.36
getDelay
Method · 0.36
getDelay
Method · 0.36