[Erlang Systems]

disk_log

MODULE

MODULE SUMMARY

DESCRIPTION

EXPORTS

accessible_logs() -> {[LocalLog], [DistributedLog]}

alog(Log, Term) -> ok | {error, Reason}
balog(Log, Bytes) -> ok | {error, Reason}

alog_terms(Log, TermList) -> ok | {error, Reason}
balog_terms(Log, BytesList) -> ok | {error, Reason}

block(Log)
block(Log, QueueLogRecords) -> ok | {error, Reason}

change_header(Log, Header) -> ok | {error, Reason}

change_notify(Log, Owner, Notify) -> ok | {error, Reason}

change_size(Log, Size) -> ok | {error, Reason}

chunk(Log, Continuation)
chunk(Log, Continuation, N) -> {Continuation2, Terms} | {Continuation2, Terms, Badbytes} | eof | {error, Reason}

chunk_info(Continuation) -> InfoList | {error, Reason}

chunk_step(Log, Continuation, Step) -> {ok, Continuation2} | {error, Reason}

close(Log) -> ok | {error, Reason}

format_error(Error) -> character_list()

inc_wrap_file(Log) -> ok | {error, Reason}

info(Log) -> InfoList | {error, no_such_log}

lclose(Log) -> ok | {error, Reason}
lclose(Log, Node) -> ok | {error, Reason}

log(Log, Term) -> ok | {error, Reason}
blog(Log, Bytes) -> ok | {error, Reason}

log_terms(Log, TermList) -> ok | {error, Reason}
blog_terms(Log, BytesList) -> ok | {error, Reason}

open(ArgL) -> OpenRet | DistOpenRet

reopen(Log, File)
reopen(Log, File, Head)
breopen(Log, File, BHead) -> ok | {error, Reason}

sync(Log) -> ok | {error, Reason}

truncate(Log)
truncate(Log, Head)
btruncate(Log, BHead) -> ok | {error, Reason}

unblock(Log) -> ok | {error, Reason}

See Also

AUTHORS


kernel 2.6.1
Copyright © 1991-2000 Ericsson Utvecklings AB