Home
last modified time | relevance | path

Searched refs:restoreRateLimiter (Results 1 – 2 of 2) sorted by relevance

/rocksdb-6.9/java/src/main/java/org/rocksdb/
DBackupableDBOptions.java24 private RateLimiter restoreRateLimiter = null; field in BackupableDBOptions
322 public BackupableDBOptions setRestoreRateLimiter(final RateLimiter restoreRateLimiter) { in setRestoreRateLimiter() argument
324 setRestoreRateLimiter(nativeHandle_, restoreRateLimiter.nativeHandle_); in setRestoreRateLimiter()
325 this.restoreRateLimiter = restoreRateLimiter; in setRestoreRateLimiter()
337 public RateLimiter restoreRateLimiter() { in restoreRateLimiter() method in BackupableDBOptions
339 return this.restoreRateLimiter; in restoreRateLimiter()
/rocksdb-6.9/java/src/test/java/org/rocksdb/
DBackupableDBOptionsTest.java167 public void restoreRateLimiter() { in restoreRateLimiter() method in BackupableDBOptionsTest
173 try(final RateLimiter restoreRateLimiter = in restoreRateLimiter() argument
175 backupableDBOptions.setRestoreRateLimiter(restoreRateLimiter); in restoreRateLimiter()
176 assertThat(backupableDBOptions.restoreRateLimiter()) in restoreRateLimiter()
177 .isEqualTo(restoreRateLimiter); in restoreRateLimiter()