Searched refs:currentTimeNanos (Results 1 – 14 of 14) sorted by relevance
59 return currentTimeNanos;70 private long currentTimeNanos; field in FakeClock87 return unit.convert(dueTimeNanos - currentTimeNanos, TimeUnit.NANOSECONDS); in getDelay()118 ScheduledTask task = new ScheduledTask(currentTimeNanos + unit.toNanos(delay), cmd); in schedule()220 if (task == null || task.dueTimeNanos > currentTimeNanos) { in runDueTasks()238 if (task.dueTimeNanos > currentTimeNanos) { in getDueTasks()272 currentTimeNanos += unit.toNanos(value); in forwardTime()307 return TimeUnit.NANOSECONDS.toMillis(currentTimeNanos + 123456789L); in currentTimeMillis()
1118 public long currentTimeNanos() { in createInternalSubchannel()
218 public long currentTimeNanos() { in createChannel()
83 lastLocalStreamCreatedTimeNanos = timeProvider.currentTimeNanos(); in reportLocalStreamStarted()91 lastRemoteStreamCreatedTimeNanos = timeProvider.currentTimeNanos(); in reportRemoteStreamStarted()113 lastMessageSentTimeNanos = timeProvider.currentTimeNanos(); in reportMessageSent()121 lastMessageReceivedTimeNanos = timeProvider.currentTimeNanos(); in reportMessageReceived()
27 long currentTimeNanos(); in currentTimeNanos() method34 public long currentTimeNanos() {
404 .setTimestampNanos(timeProvider.currentTimeNanos()) in enterIdleMode()622 long currentTimeNanos = timeProvider.currentTimeNanos(); in ManagedChannelImpl() local623 channelTracer = new ChannelTracer(builder.maxTraceEvents, currentTimeNanos, "Channel"); in ManagedChannelImpl()697 .setTimestampNanos(timeProvider.currentTimeNanos()) in shutdown()763 .setTimestampNanos(timeProvider.currentTimeNanos()) in panic()1033 long subchannelCreationTime = timeProvider.currentTimeNanos(); in createSubchannel()1133 .setTimestampNanos(timeProvider.currentTimeNanos()) in updateBalancingState()1154 long oobChannelCreationTime = timeProvider.currentTimeNanos(); in createOobChannel()1268 .setTimestampNanos(timeProvider.currentTimeNanos()) in onAddresses()1279 .setTimestampNanos(timeProvider.currentTimeNanos()) in onAddresses()[all …]
40 lastCallStartedNanos = timeProvider.currentTimeNanos(); in reportCallStarted()
250 .setTimestampNanos(timeProvider.currentTimeNanos()) in handleSubchannelStateChange()
336 .setTimestampNanos(timeProvider.currentTimeNanos()) in gotoState()
221 boolean expireWrite = (stamped.getWriteTimestamp() + expireAfterWrite <= currentTimeNanos()); in isExpired()222 boolean expireAccess = (stamped.getAccessTimestamp() + expireAfterAccess <= currentTimeNanos()); in isExpired()234 private long currentTimeNanos() { in currentTimeNanos() method in LocalCache
105 .setTimestamp(Timestamps.fromNanos(time.currentTimeNanos())) in generateLoadReport()
285 prevLbRpcStartNanos = time.currentTimeNanos(); in startLbRpc()633 prevLbRpcStartNanos + lbRpcRetryPolicy.nextBackoffNanos() - time.currentTimeNanos(); in handleStreamClosed()
158 public long currentTimeNanos() {
107 public long currentTimeNanos() {