提交 b1288cdc 编写于 作者: M Max 提交者: Facebook Github Bot

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
上级 ca32fc17
......@@ -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());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册