@ -1154,6 +1154,7 @@ public class Options extends RocksObject {
* /
* /
public Options setMemTableConfig ( MemTableConfig config )
public Options setMemTableConfig ( MemTableConfig config )
throws RocksDBException {
throws RocksDBException {
memTableConfig_ = config ;
setMemTableFactory ( nativeHandle_ , config . newMemTableFactoryHandle ( ) ) ;
setMemTableFactory ( nativeHandle_ , config . newMemTableFactoryHandle ( ) ) ;
return this ;
return this ;
}
}
@ -1168,6 +1169,7 @@ public class Options extends RocksObject {
* @throws RocksDBException
* @throws RocksDBException
* /
* /
public Options setRateLimiterConfig ( RateLimiterConfig config ) {
public Options setRateLimiterConfig ( RateLimiterConfig config ) {
rateLimiterConfig_ = config ;
setRateLimiter ( nativeHandle_ , config . newRateLimiterHandle ( ) ) ;
setRateLimiter ( nativeHandle_ , config . newRateLimiterHandle ( ) ) ;
return this ;
return this ;
}
}
@ -1191,6 +1193,7 @@ public class Options extends RocksObject {
* @return the reference of the current Options .
* @return the reference of the current Options .
* /
* /
public Options setTableFormatConfig ( TableFormatConfig config ) {
public Options setTableFormatConfig ( TableFormatConfig config ) {
tableFormatConfig_ = config ;
setTableFactory ( nativeHandle_ , config . newTableFactoryHandle ( ) ) ;
setTableFactory ( nativeHandle_ , config . newTableFactoryHandle ( ) ) ;
return this ;
return this ;
}
}
@ -2280,4 +2283,7 @@ public class Options extends RocksObject {
long cacheSize_ ;
long cacheSize_ ;
int numShardBits_ ;
int numShardBits_ ;
RocksEnv env_ ;
RocksEnv env_ ;
MemTableConfig memTableConfig_ ;
TableFormatConfig tableFormatConfig_ ;
RateLimiterConfig rateLimiterConfig_ ;
}
}