Module p1_file_queue

.

Copyright © (C) 2017-2019 Evgeny Khramtsov

Behaviours: p1_server.

Authors: Evgeny Khramtsov (ekhramtsov@process-one.net).

Description

Data Types

error_reason()

error_reason() = {corrupted | not_owner | file:posix(), binary()}

queue()

queue() = #file_q{}

Function Index

clear/1
close/1
code_change/3
drop/1
dropwhile/2
foldl/3
foreach/2
format_error/1
from_list/2
get_limit/1
handle_call/3
handle_cast/2
handle_info/2
in/2
init/1
is_empty/1
is_queue/1
len/1
new/1
out/1
path/1
peek/1
set_limit/2
start/1
start_link/1
stop/0
terminate/2
to_list/1

Function Details

clear/1

clear(File_q) -> any()

close/1

close(File_q) -> any()

code_change/3

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

drop/1

drop(File_q) -> any()

dropwhile/2

dropwhile(F, Q) -> any()

foldl/3

foldl(F, Acc, Q) -> any()

foreach/2

foreach(F, Q) -> any()

format_error/1

format_error(X1::error_reason()) -> string()

from_list/2

from_list(Items, Limit) -> any()

get_limit/1

get_limit(File_q) -> any()

handle_call/3

handle_call(Request, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

in/2

in(Item, File_q) -> any()

init/1

init(X1) -> any()

is_empty/1

is_empty(File_q) -> any()

is_queue/1

is_queue(File_q) -> any()

len/1

len(File_q) -> any()

new/1

new(Limit) -> any()

out/1

out(File_q) -> any()

path/1

path(File_q) -> any()

peek/1

peek(File_q) -> any()

set_limit/2

set_limit(Q, Limit) -> any()

start/1

start(Dir) -> any()

start_link/1

start_link(Dir) -> any()

stop/0

stop() -> any()

terminate/2

terminate(Reason, State) -> any()

to_list/1

to_list(File_q) -> any()


Generated by EDoc, Aug 1 2020, 01:20:30.