class
LevelDB::Options
- LevelDB::Options
- LevelDB::Handle(LevelDB::LibLevelDB::Options)
- Reference
- Object
Defined in:
leveldb/options.crConstructors
Instance Method Summary
- #block_restart_interval=(n : Int)
- #block_size=(size : Int)
- #close
- #compression=(c : LibLevelDB::Compression | Int32)
- #create_if_missing=(v : Bool)
- #error_if_exists=(v : Bool)
-
#finalize
Finalizer is a safety net.
- #max_file_size=(size : Int)
- #max_open_files=(n : Int)
- #paranoid_checks=(v : Bool)
- #write_buffer_size=(size : Int)
Instance methods inherited from class LevelDB::Handle(LevelDB::LibLevelDB::Options)
handle : T
handle,
handle? : T | Nil
handle?
Constructor Detail
def self.new(create_if_missing : Bool | Nil = nil, error_if_exists : Bool | Nil = nil, paranoid_checks : Bool | Nil = nil, write_buffer_size : Int | Nil = nil, max_open_files : Int | Nil = nil, block_size : Int | Nil = nil, block_restart_interval : Int | Nil = nil, max_file_size : Int | Nil = nil, compression : LibLevelDB::Compression | Int32 | Nil = nil)
#