// SetMaxWriteBufferNumber sets the maximum number of write buffers // that are built up in memory. // // The default is 2, so that when 1 write buffer is being flushed to // storage, new writes can continue to the other write buffer. // Default: 2 func (opts *Options) SetMaxWriteBufferNumber(value int) { C.rocksdb_options_set_max_write_buffer_number(opts.c, C.int(value)) }
func (o *Options) SetMaxWriteBufferNumber(n int) { C.rocksdb_options_set_max_write_buffer_number(o.Opt, C.int(n)) }