mnesia_corba_session.erl
来自「OTP是开放电信平台的简称」· ERL 代码 · 共 1,226 行 · 第 1/3 页
ERL
1,226 行
%%------------------------------------------------------------%%%% Implementation stub file%% %% Target: mnesia_corba_session%% Source: /ldisk/daily_build/otp_prebuild_r11b.2007-06-11_19/otp_src_R11B-5/lib/mnesia_session/src/mnesia_corba_session.idl%% IC vsn: 4.2.13%% %% This file is automatically generated. DO NOT EDIT IT.%%%%-------------------------------------------------------------module(mnesia_corba_session).-ic_compiled("4_2_13").%% Interface functions-export([dirty_write/3, dirty_write/4, dirty_read/3]).-export([dirty_read/4, dirty_update_counter/4, dirty_update_counter/5]).-export([dirty_delete/3, dirty_delete/4, dirty_delete_object/3]).-export([dirty_delete_object/4, dirty_slot/3, dirty_slot/4]).-export([dirty_first/2, dirty_first/3, dirty_next/3]).-export([dirty_next/4, dirty_all_keys/2, dirty_all_keys/3]).-export([dirty_match_all/2, dirty_match_all/3, dirty_index_read/4]).-export([dirty_index_read/5, create_table/3, create_table/4]).-export([delete_table/2, delete_table/3, add_table_copy/4]).-export([add_table_copy/5, del_table_copy/3, del_table_copy/4]).-export([move_table_copy/4, move_table_copy/5, add_table_index/3]).-export([add_table_index/4, del_table_index/3, del_table_index/4]).-export([change_table_copy_type/4, change_table_copy_type/5, change_table_access_mode/3]).-export([change_table_access_mode/4, wait_for_tables/3, wait_for_tables/4]).-export([force_load_table/2, force_load_table/3, change_table_load_order/3]).-export([change_table_load_order/4, set_master_nodes1/2, set_master_nodes1/3]).-export([set_master_nodes2/3, set_master_nodes2/4, backup1/2]).-export([backup1/3, backup2/3, backup2/4]).-export([install_fallback1/2, install_fallback1/3, install_fallback2/3]).-export([install_fallback2/4, uninstall_fallback/1, uninstall_fallback/2]).-export([dump_log/1, dump_log/2, dump_tables/2]).-export([dump_tables/3, activate_checkpoint/2, activate_checkpoint/3]).-export([deactivate_checkpoint/2, deactivate_checkpoint/3, backup_checkpoint1/3]).-export([backup_checkpoint1/4, backup_checkpoint2/4, backup_checkpoint2/5]).-export([load_textfile/2, load_textfile/3, dump_to_textfile/2]).-export([dump_to_textfile/3, table_info/2, table_info/3]).-export([system_info/1, system_info/2]).%% Type identification function-export([typeID/0]).%% Used to start server-export([oe_create/0, oe_create_link/0, oe_create/1]).-export([oe_create_link/1, oe_create/2, oe_create_link/2]).%% TypeCode Functions and inheritance-export([oe_tc/1, oe_is_a/1, oe_get_interface/0]).%% gen server export stuff-behaviour(gen_server).-export([init/1, terminate/2, handle_call/3]).-export([handle_cast/2, handle_info/2, code_change/3]).-include_lib("orber/include/corba.hrl").%%------------------------------------------------------------%%%% Object interface functions.%%%%------------------------------------------------------------%%%% Operation: dirty_write%% %% Returns: RetVal, Reason%%dirty_write(OE_THIS, Tab, Object) -> corba:call(OE_THIS, dirty_write, [Tab, Object], ?MODULE).dirty_write(OE_THIS, OE_Options, Tab, Object) -> corba:call(OE_THIS, dirty_write, [Tab, Object], ?MODULE, OE_Options).%%%% Operation: dirty_read%% %% Returns: RetVal, Result, Reason%%dirty_read(OE_THIS, Tab, Key) -> corba:call(OE_THIS, dirty_read, [Tab, Key], ?MODULE).dirty_read(OE_THIS, OE_Options, Tab, Key) -> corba:call(OE_THIS, dirty_read, [Tab, Key], ?MODULE, OE_Options).%%%% Operation: dirty_update_counter%% %% Returns: RetVal, Newval, Reason%%dirty_update_counter(OE_THIS, Tab, Key, Val) -> corba:call(OE_THIS, dirty_update_counter, [Tab, Key, Val], ?MODULE).dirty_update_counter(OE_THIS, OE_Options, Tab, Key, Val) -> corba:call(OE_THIS, dirty_update_counter, [Tab, Key, Val], ?MODULE, OE_Options).%%%% Operation: dirty_delete%% %% Returns: RetVal, Reason%%dirty_delete(OE_THIS, Tab, Key) -> corba:call(OE_THIS, dirty_delete, [Tab, Key], ?MODULE).dirty_delete(OE_THIS, OE_Options, Tab, Key) -> corba:call(OE_THIS, dirty_delete, [Tab, Key], ?MODULE, OE_Options).%%%% Operation: dirty_delete_object%% %% Returns: RetVal, Reason%%dirty_delete_object(OE_THIS, Tab, Object) -> corba:call(OE_THIS, dirty_delete_object, [Tab, Object], ?MODULE).dirty_delete_object(OE_THIS, OE_Options, Tab, Object) -> corba:call(OE_THIS, dirty_delete_object, [Tab, Object], ?MODULE, OE_Options).%%%% Operation: dirty_slot%% %% Returns: RetVal, Result, Reason%%dirty_slot(OE_THIS, Tab, Slot) -> corba:call(OE_THIS, dirty_slot, [Tab, Slot], ?MODULE).dirty_slot(OE_THIS, OE_Options, Tab, Slot) -> corba:call(OE_THIS, dirty_slot, [Tab, Slot], ?MODULE, OE_Options).%%%% Operation: dirty_first%% %% Returns: RetVal, Next_key, Reason%%dirty_first(OE_THIS, Tab) -> corba:call(OE_THIS, dirty_first, [Tab], ?MODULE).dirty_first(OE_THIS, OE_Options, Tab) -> corba:call(OE_THIS, dirty_first, [Tab], ?MODULE, OE_Options).%%%% Operation: dirty_next%% %% Returns: RetVal, Next_key, Reason%%dirty_next(OE_THIS, Tab, Key) -> corba:call(OE_THIS, dirty_next, [Tab, Key], ?MODULE).dirty_next(OE_THIS, OE_Options, Tab, Key) -> corba:call(OE_THIS, dirty_next, [Tab, Key], ?MODULE, OE_Options).%%%% Operation: dirty_all_keys%% %% Returns: RetVal, Keys, Reason%%dirty_all_keys(OE_THIS, Tab) -> corba:call(OE_THIS, dirty_all_keys, [Tab], ?MODULE).dirty_all_keys(OE_THIS, OE_Options, Tab) -> corba:call(OE_THIS, dirty_all_keys, [Tab], ?MODULE, OE_Options).%%%% Operation: dirty_match_all%% %% Returns: RetVal, Result, Reason%%dirty_match_all(OE_THIS, Tab) -> corba:call(OE_THIS, dirty_match_all, [Tab], ?MODULE).dirty_match_all(OE_THIS, OE_Options, Tab) -> corba:call(OE_THIS, dirty_match_all, [Tab], ?MODULE, OE_Options).%%%% Operation: dirty_index_read%% %% Returns: RetVal, Result, Reason%%dirty_index_read(OE_THIS, Tab, Key, Pos) -> corba:call(OE_THIS, dirty_index_read, [Tab, Key, Pos], ?MODULE).dirty_index_read(OE_THIS, OE_Options, Tab, Key, Pos) -> corba:call(OE_THIS, dirty_index_read, [Tab, Key, Pos], ?MODULE, OE_Options).%%%% Operation: create_table%% %% Returns: RetVal, Reason%%create_table(OE_THIS, Tab, TabDefs) -> corba:call(OE_THIS, create_table, [Tab, TabDefs], ?MODULE).create_table(OE_THIS, OE_Options, Tab, TabDefs) -> corba:call(OE_THIS, create_table, [Tab, TabDefs], ?MODULE, OE_Options).%%%% Operation: delete_table%% %% Returns: RetVal, Reason%%delete_table(OE_THIS, Tab) -> corba:call(OE_THIS, delete_table, [Tab], ?MODULE).delete_table(OE_THIS, OE_Options, Tab) -> corba:call(OE_THIS, delete_table, [Tab], ?MODULE, OE_Options).%%%% Operation: add_table_copy%% %% Returns: RetVal, Reason%%add_table_copy(OE_THIS, Tab, Node, Type) -> corba:call(OE_THIS, add_table_copy, [Tab, Node, Type], ?MODULE).add_table_copy(OE_THIS, OE_Options, Tab, Node, Type) -> corba:call(OE_THIS, add_table_copy, [Tab, Node, Type], ?MODULE, OE_Options).%%%% Operation: del_table_copy%% %% Returns: RetVal, Reason%%del_table_copy(OE_THIS, Tab, Node) -> corba:call(OE_THIS, del_table_copy, [Tab, Node], ?MODULE).del_table_copy(OE_THIS, OE_Options, Tab, Node) -> corba:call(OE_THIS, del_table_copy, [Tab, Node], ?MODULE, OE_Options).%%%% Operation: move_table_copy%% %% Returns: RetVal, Reason%%move_table_copy(OE_THIS, Tab, From, To) -> corba:call(OE_THIS, move_table_copy, [Tab, From, To], ?MODULE).move_table_copy(OE_THIS, OE_Options, Tab, From, To) -> corba:call(OE_THIS, move_table_copy, [Tab, From, To], ?MODULE, OE_Options).%%%% Operation: add_table_index%% %% Returns: RetVal, Reason%%add_table_index(OE_THIS, Tab, Attrname) -> corba:call(OE_THIS, add_table_index, [Tab, Attrname], ?MODULE).add_table_index(OE_THIS, OE_Options, Tab, Attrname) -> corba:call(OE_THIS, add_table_index, [Tab, Attrname], ?MODULE, OE_Options).%%%% Operation: del_table_index%% %% Returns: RetVal, Reason%%del_table_index(OE_THIS, Tab, Attrname) -> corba:call(OE_THIS, del_table_index, [Tab, Attrname], ?MODULE).del_table_index(OE_THIS, OE_Options, Tab, Attrname) -> corba:call(OE_THIS, del_table_index, [Tab, Attrname], ?MODULE, OE_Options).%%%% Operation: change_table_copy_type%% %% Returns: RetVal, Reason%%change_table_copy_type(OE_THIS, Tab, Node, Type) -> corba:call(OE_THIS, change_table_copy_type, [Tab, Node, Type], ?MODULE).change_table_copy_type(OE_THIS, OE_Options, Tab, Node, Type) -> corba:call(OE_THIS, change_table_copy_type, [Tab, Node, Type], ?MODULE, OE_Options).%%%% Operation: change_table_access_mode%% %% Returns: RetVal, Reason%%change_table_access_mode(OE_THIS, Tab, Mode) -> corba:call(OE_THIS, change_table_access_mode, [Tab, Mode], ?MODULE).change_table_access_mode(OE_THIS, OE_Options, Tab, Mode) -> corba:call(OE_THIS, change_table_access_mode, [Tab, Mode], ?MODULE, OE_Options).%%%% Operation: wait_for_tables%% %% Returns: RetVal, Failed_tabs, Reason%%wait_for_tables(OE_THIS, Tabs, Timeout) -> corba:call(OE_THIS, wait_for_tables, [Tabs, Timeout], ?MODULE).wait_for_tables(OE_THIS, OE_Options, Tabs, Timeout) -> corba:call(OE_THIS, wait_for_tables, [Tabs, Timeout], ?MODULE, OE_Options).%%%% Operation: force_load_table%% %% Returns: RetVal, Reason%%force_load_table(OE_THIS, Tab) -> corba:call(OE_THIS, force_load_table, [Tab], ?MODULE).force_load_table(OE_THIS, OE_Options, Tab) -> corba:call(OE_THIS, force_load_table, [Tab], ?MODULE, OE_Options).%%%% Operation: change_table_load_order%% %% Returns: RetVal, Reason%%change_table_load_order(OE_THIS, Tab, Load_order) -> corba:call(OE_THIS, change_table_load_order, [Tab, Load_order], ?MODULE).change_table_load_order(OE_THIS, OE_Options, Tab, Load_order) -> corba:call(OE_THIS, change_table_load_order, [Tab, Load_order], ?MODULE, OE_Options).%%%% Operation: set_master_nodes1%% %% Returns: RetVal, Reason%%set_master_nodes1(OE_THIS, Nodes) -> corba:call(OE_THIS, set_master_nodes1, [Nodes], ?MODULE).set_master_nodes1(OE_THIS, OE_Options, Nodes) -> corba:call(OE_THIS, set_master_nodes1, [Nodes], ?MODULE, OE_Options).%%%% Operation: set_master_nodes2%% %% Returns: RetVal, Reason%%set_master_nodes2(OE_THIS, Tab, Nodes) -> corba:call(OE_THIS, set_master_nodes2, [Tab, Nodes], ?MODULE).set_master_nodes2(OE_THIS, OE_Options, Tab, Nodes) -> corba:call(OE_THIS, set_master_nodes2, [Tab, Nodes], ?MODULE, OE_Options).%%%% Operation: backup1%% %% Returns: RetVal, Reason%%backup1(OE_THIS, Filename) -> corba:call(OE_THIS, backup1, [Filename], ?MODULE).backup1(OE_THIS, OE_Options, Filename) -> corba:call(OE_THIS, backup1, [Filename], ?MODULE, OE_Options).%%%% Operation: backup2%% %% Returns: RetVal, Reason%%backup2(OE_THIS, Opaque, Modulename) -> corba:call(OE_THIS, backup2, [Opaque, Modulename], ?MODULE).backup2(OE_THIS, OE_Options, Opaque, Modulename) -> corba:call(OE_THIS, backup2, [Opaque, Modulename], ?MODULE, OE_Options).%%%% Operation: install_fallback1%% %% Returns: RetVal, Reason%%install_fallback1(OE_THIS, Filename) -> corba:call(OE_THIS, install_fallback1, [Filename], ?MODULE).install_fallback1(OE_THIS, OE_Options, Filename) -> corba:call(OE_THIS, install_fallback1, [Filename], ?MODULE, OE_Options).%%%% Operation: install_fallback2%% %% Returns: RetVal, Reason%%install_fallback2(OE_THIS, Opaque, Modulename) -> corba:call(OE_THIS, install_fallback2, [Opaque, Modulename], ?MODULE).install_fallback2(OE_THIS, OE_Options, Opaque, Modulename) -> corba:call(OE_THIS, install_fallback2, [Opaque, Modulename], ?MODULE, OE_Options).%%%% Operation: uninstall_fallback%% %% Returns: RetVal, Reason%%uninstall_fallback(OE_THIS) -> corba:call(OE_THIS, uninstall_fallback, [], ?MODULE).uninstall_fallback(OE_THIS, OE_Options) -> corba:call(OE_THIS, uninstall_fallback, [], ?MODULE, OE_Options).%%%% Operation: dump_log%% %% Returns: RetVal, Reason%%dump_log(OE_THIS) -> corba:call(OE_THIS, dump_log, [], ?MODULE).dump_log(OE_THIS, OE_Options) -> corba:call(OE_THIS, dump_log, [], ?MODULE, OE_Options).%%%% Operation: dump_tables%% %% Returns: RetVal, Reason%%dump_tables(OE_THIS, List) -> corba:call(OE_THIS, dump_tables, [List], ?MODULE).dump_tables(OE_THIS, OE_Options, List) -> corba:call(OE_THIS, dump_tables, [List], ?MODULE, OE_Options).%%%% Operation: activate_checkpoint%% %% Returns: RetVal, Reason%%activate_checkpoint(OE_THIS, Cpdef) -> corba:call(OE_THIS, activate_checkpoint, [Cpdef], ?MODULE).activate_checkpoint(OE_THIS, OE_Options, Cpdef) -> corba:call(OE_THIS, activate_checkpoint, [Cpdef], ?MODULE, OE_Options).%%%% Operation: deactivate_checkpoint%% %% Returns: RetVal, Reason%%deactivate_checkpoint(OE_THIS, CpName) -> corba:call(OE_THIS, deactivate_checkpoint, [CpName], ?MODULE).deactivate_checkpoint(OE_THIS, OE_Options, CpName) ->
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?