RocksDBOptionsFactory
instead. This factory has no mechanism to register
native handles to be closed and is thus deprecated in favor or a new variant.@Deprecated public interface OptionsFactory extends Serializable
Modifier and Type | Method and Description |
---|---|
org.rocksdb.ColumnFamilyOptions |
createColumnOptions(org.rocksdb.ColumnFamilyOptions currentOptions)
Deprecated.
This method should set the additional options on top of the current options object.
|
org.rocksdb.DBOptions |
createDBOptions(org.rocksdb.DBOptions currentOptions)
Deprecated.
This method should set the additional options on top of the current options object.
|
default RocksDBNativeMetricOptions |
createNativeMetricsOptions(RocksDBNativeMetricOptions nativeMetricOptions)
Deprecated.
This method should enable certain RocksDB metrics to be forwarded to
Flink's metrics reporter.
|
org.rocksdb.DBOptions createDBOptions(org.rocksdb.DBOptions currentOptions)
It is important to set the options on the current object and return the result from the setter methods, otherwise the pre-defined options may get lost.
currentOptions
- The options object with the pre-defined options.org.rocksdb.ColumnFamilyOptions createColumnOptions(org.rocksdb.ColumnFamilyOptions currentOptions)
It is important to set the options on the current object and return the result from the setter methods, otherwise the pre-defined options may get lost.
currentOptions
- The options object with the pre-defined options.default RocksDBNativeMetricOptions createNativeMetricsOptions(RocksDBNativeMetricOptions nativeMetricOptions)
Enabling these monitoring options may degrade RockDB performance and should be set with care.
nativeMetricOptions
- The options object with the pre-defined options.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.