WithValueLogLoadingMode returns a new Options value with ValueLogLoadingMode set to the given value. ValueLogLoadingMode indicates which file loading mode should be used for the value log data files. The default value of ValueLogLoadingMode is options.MemoryMap.
(val options.FileLoadingMode)
| 270 | // |
| 271 | // The default value of ValueLogLoadingMode is options.MemoryMap. |
| 272 | func (opt Options) WithValueLogLoadingMode(val options.FileLoadingMode) Options { |
| 273 | opt.ValueLogLoadingMode = val |
| 274 | return opt |
| 275 | } |
| 276 | |
| 277 | // WithNumVersionsToKeep returns a new Options value with NumVersionsToKeep set to the given value. |
| 278 | // |
no outgoing calls