apply/2 | |
commit_transaction/2 | commit the transaction on the disk. |
delete_file/1 | delete a file safely. |
delete_file/2 | |
delete_property/2 | |
get_opt/2 | |
get_opt/3 | |
get_value/2 | |
get_value/3 | |
init_db/6 | initialize the db. |
maybe_sync/3 | test if the db file should be synchronized or not depending on the state. |
reorder_results/2 | |
set_property/3 | |
shutdown_sync/1 | synchronous shutdown. |
timestamp/0 | |
uniqid/0 | |
write_header/2 | write the db header. |
apply(Func, Args) -> any()
commit_transaction(TransactId, Db) -> any()
commit the transaction on the disk.
delete_file(FilePath) -> any()
delete_file(FilePath, Async) -> any()
delete_property(Key, Props) -> any()
get_opt(Key, Opts) -> any()
get_opt(Key, Opts, Default) -> any()
get_value(Key, List) -> any()
get_value(Key, List, Default) -> any()
init_db(Header, DbPid, Fd, ReaderFd, FilePath, Options) -> any()
maybe_sync(Status, Fd, FSyncOptions) -> any()
test if the db file should be synchronized or not depending on the state
reorder_results(Keys, SortedResults) -> any()
set_property(Key, Value, Props) -> any()
shutdown_sync(Pid) -> any()
timestamp() -> any()
uniqid() -> any()
write_header(Header, Db) -> any()
write the db header