Fix typos in comments (#4819)

Summary:
Fix some typos in comments.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4819

Differential Revision: D13548543

Pulled By: siying

fbshipit-source-id: ca2e128fa47bef32892fc3627a7541fd9e2d5c3f
main
Max 6 years ago committed by Facebook Github Bot
parent ca32fc1718
commit b1288cdc24
  1. 4
      include/rocksdb/rate_limiter.h
  2. 8
      java/src/main/java/org/rocksdb/RateLimiter.java

@ -81,11 +81,11 @@ class RateLimiter {
// Max bytes can be granted in a single burst
virtual int64_t GetSingleBurstBytes() const = 0;
// Total bytes that go though rate limiter
// Total bytes that go through rate limiter
virtual int64_t GetTotalBytesThrough(
const Env::IOPriority pri = Env::IO_TOTAL) const = 0;
// Total # of requests that go though rate limiter
// Total # of requests that go through rate limiter
virtual int64_t GetTotalRequests(
const Env::IOPriority pri = Env::IO_TOTAL) const = 0;

@ -193,9 +193,9 @@ public class RateLimiter extends RocksObject {
}
/**
* <p>Total bytes that go though rate limiter.</p>
* <p>Total bytes that go through rate limiter.</p>
*
* @return total bytes that go though rate limiter.
* @return total bytes that go through rate limiter.
*/
public long getTotalBytesThrough() {
assert(isOwningHandle());
@ -203,9 +203,9 @@ public class RateLimiter extends RocksObject {
}
/**
* <p>Total # of requests that go though rate limiter.</p>
* <p>Total # of requests that go through rate limiter.</p>
*
* @return total # of requests that go though rate limiter.
* @return total # of requests that go through rate limiter.
*/
public long getTotalRequests() {
assert(isOwningHandle());

Loading…
Cancel
Save