LevelDB.Options – leveldb Reference Manual
Options
Object Hierarchy:
LevelDB.Options
LevelDB.Options
LevelDB.Options
Description:
[
Compact
]
[
CCode
( cname =
"leveldb_options_t"
, free_function =
"leveldb_options_destroy"
, lower_case_cprefix =
"leveldb_options_"
) ]
public
class
Options
Namespace:
LevelDB
Package:
leveldb
Content:
Creation methods:
public
Options
()
Methods:
public
void
set_block_restart_interval
(
int
block_restart_interval)
public
void
set_block_size
(
size_t
block_size)
public
void
set_cache
(
Cache
cache)
public
void
set_comparator
(
Comparator
comparator)
public
void
set_compression
(
Compression
compression)
public
void
set_create_if_missing
(
bool
compare_if_missing)
public
void
set_env
(
Environment
env)
public
void
set_error_if_exists
(
bool
error_if_exists)
public
void
set_info_log
(
Logger
info_log)
public
void
set_max_open_files
(
int
max_open_files)
public
void
set_paranoid_checks
(
bool
paranoid_checks)
public
void
set_write_buffer
(
size_t
write_buffer)
2022 vala-language.org