Copyright © 2009 Mr Buzz, Inc.
Authors: Jacob Perkins.
activate_frag() -> term()
add_copies(Tabs::[atom()], Node::atom(), Type::atom()) -> ok
Equivalent to add_copies(Tabs, Node, Type, 20000).
add_copies(Tabs::[atom()], Node::atom(), Type::atom(), Timeout::integer()) -> ok
Add table copies of Type to Node. Waits for Tabs to load first.
See also: mnesia:add_table_copy/3.
add_frag() -> term()
add_frag_node() -> term()
add_frags() -> term()
clear_frags() -> term()
collect(Table::atom(), Spec) -> Result
Equivalent to collect(Table, Spec, 100, read).
collect(Table::atom(), Spec, NObjects::integer(), Lock::atom()) -> Result
Collect all results from Table, NObjects at a time. Spec is a match specification, Lock is a mnesia lock atom. Collection is async dirty.
See also: mnesia:select/4.
del_frag() -> term()
del_frag_node() -> term()
del_frags() -> term()
delete_frags() -> term()
ets_foreach() -> term()
ets_foreach() -> term()
ets_foreach() -> term()
ets_update_counter() -> term()
ets_update_counter() -> term()
foldl() -> term()
foldl() -> term()
foldl() -> term()
foldl() -> term()
force_delete_table() -> term()
Use this function if mnesia:table_info(Tab, cstruct) returns a value but mnesia:delete_table(Tab) returns {aborted, {no_exists, Tab}}. Only do this as a last resort.
force_load(Tables::[atom()]) -> ok
Equivalent to force_load(Tables, 20000).
force_load(Tables::[atom()], Timeout::integer()) -> ok
Force load any Tables that do not load within Timeout.
See also: mnesia:force_load_table/1, mnesia:wait_for_tables/2.
foreach(F::function(), Table::atom()) -> ok
Iterate over each record in table, calling F on each record. Uses mnesia:dirty_first/1 and mnesia:dirty_next/2.
foreach(F::function(), Table::atom(), Spec) -> ok
Equivalent to foreach(F, Table, Spec, read).
foreach(F::function(), Table::atom(), Spec, Lock::atom()) -> ok
Equivalent to foreach(Context, F, Table, Spec, 100, Lock).
If Lock is write, then Context = sync_transaction. Otherwise Context = async_dirty.
foreach(Context::atom(), F::function(), Table::atom(), Spec, NObjects::integer(), Lock::atom()) -> Result
Calls F on each result from Table, NObjects at a time. Context is the mnesia transaction context, Spec is a match specification, Lock is a mnesia lock atom.
frag_activity() -> term()
frag_info() -> term()
frag_read() -> term()
frag_write() -> term()
fragment() -> term()
opts() -> term()
unfragment() -> term()
Generated by EDoc, Jul 14 2009, 14:06:01.