Module filezcache_entry

Writes a file to the filezcache, streams the file while writing.

Copyright © 2013-2022 Marc Worrell

Behaviours: gen_fsm.

Authors: Marc Worrell.

Description

Writes a file to the filezcache, streams the file while writing

Function Index

append_stream/2
closing/2
code_change/4
delete/1
fetch/2
fetch_file/2
filename/1
finish_stream/1
gc/1
handle_event/3
handle_info/3
handle_sync_event/4
idle/2
idle/3
init/1
logged/1
repop/5
start_link/3
store/2
streaming/2
streaming/3
terminate/3
wait_for_data/2
wait_for_data/3

Function Details

append_stream/2

append_stream(Pid, Data) -> any()

closing/2

closing(X1, State) -> any()

code_change/4

code_change(OldVsn, StateName, State, Extra) -> any()

delete/1

delete(Pid) -> any()

fetch/2

fetch(Pid, Opts) -> any()

fetch_file/2

fetch_file(Pid, Opts) -> any()

filename/1

filename(Key) -> any()

finish_stream/1

finish_stream(Pid) -> any()

gc/1

gc(Pid) -> any()

handle_event/3

handle_event(Event, StateName, State) -> any()

handle_info/3

handle_info(Info, StateName, State) -> any()

handle_sync_event/4

handle_sync_event(Event, From, StateName, State) -> any()

idle/2

idle(X1, State) -> any()

idle/3

idle(X1, From, State) -> any()

init/1

init(X1) -> any()

logged/1

logged(Pid) -> any()

repop/5

repop(Pid, Key, Filename, Size, Checksum) -> any()

start_link/3

start_link(Key, Writer, Opts) -> any()

store/2

store(Pid::pid(), Value::{stream_start, pid(), integer() | undefined} | {stream_fun, pid(), function(), integer() | undefined} | {data, binary()} | {file, file:filename_all()} | {tmpfile, file:filename_all()}) -> ok

streaming/2

streaming(X1, State) -> any()

streaming/3

streaming(Fetch, From, State) -> any()

terminate/3

terminate(Reason, StateName, State) -> any()

wait_for_data/2

wait_for_data(X1, State) -> any()

wait_for_data/3

wait_for_data(Fetch, From, State) -> any()


Generated by EDoc