belliottsmith commented on a change in pull request #1045:
URL: https://github.com/apache/cassandra/pull/1045#discussion_r686222620



##########
File path: 
src/java/org/apache/cassandra/utils/concurrent/NonBlockingRateLimiter.java
##########
@@ -99,37 +99,61 @@ public int getRate()
     }
 
     /**
-     * Reserves a single permit which may not yet be available.
+     * Reserves a single permit slot on the timeline which may not yet be 
available.
      *
      * @return microseconds until the reserved permit will be available (or 
zero if it already is)
      */
     public long reserveAndGetWaitMicros()

Review comment:
       Might be nice to have the caller invoke with `MICROSECONDS` as a 
parameter? Very optional, just a suggestion,




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to