Module filezcache

Copyright © 2013-2014 Marc Worrell

Authors: Marc Worrell.

Function Index

access/1
append_stream/2
checksum/1
data_dir/0Return the directory for the storage of the cached files.
delete/1
finish_stream/1
insert/2
insert/3
insert_file/2
insert_file/3
insert_stream/1
insert_stream/3
insert_stream/4
insert_tmpfile/2
insert_tmpfile/3
insert_wait/1
journal_dir/0Return the directory for the storage of the log/journal files.
locate_monitor/1
lookup/1
lookup/2
lookup_file/1
lookup_file/2
stats/0
where/1

Function Details

access/1

access(Key::term()) -> ok

append_stream/2

append_stream(Pid, Bin) -> any()

checksum/1

checksum(Filename::file:filename()) -> binary()

data_dir/0

data_dir() -> file:filename()

Return the directory for the storage of the cached files

delete/1

delete(Key::term()) -> ok | {error, lockedlog_a}

finish_stream/1

finish_stream(Pid) -> any()

insert/2

insert(Key, Bin) -> any()

insert/3

insert(Key, Bin, Opts) -> any()

insert_file/2

insert_file(Key, FilePath) -> any()

insert_file/3

insert_file(Key, FilePath, Opts) -> any()

insert_stream/1

insert_stream(Key) -> any()

insert_stream/3

insert_stream(Key, FinalSize, Opts) -> any()

insert_stream/4

insert_stream(Key, FinalSize, StreamFun, Opts) -> any()

insert_tmpfile/2

insert_tmpfile(Key, FilePath) -> any()

insert_tmpfile/3

insert_tmpfile(Key, FilePath, Opts) -> any()

insert_wait/1

insert_wait(Key) -> any()

journal_dir/0

journal_dir() -> file:filename()

Return the directory for the storage of the log/journal files

locate_monitor/1

locate_monitor(Key::term()) -> {ok, {file, integer(), string()}} | {ok, {pid, pid()}} | {error, term()}

lookup/1

lookup(Key::term()) -> {ok, {file, integer(), string()}} | {ok, {device, pid()}} | {error, term()}

lookup/2

lookup(Pid, Opts) -> any()

lookup_file/1

lookup_file(Key::term()) -> {ok, {file, integer(), string()}} | {error, term()}

lookup_file/2

lookup_file(Pid, Opts) -> any()

stats/0

stats() -> list()

where/1

where(Key::term()) -> pid() | undefined


Generated by EDoc