chore(ds): behavior -> behaviour
This commit is contained in:
parent
0f6c81e42d
commit
efed7cdc2f
|
@ -26,7 +26,7 @@
|
|||
-include("bpapi.hrl").
|
||||
|
||||
%%================================================================================
|
||||
%% behavior callbacks
|
||||
%% behaviour callbacks
|
||||
%%================================================================================
|
||||
|
||||
introduced_in() ->
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
%%================================================================================
|
||||
|
||||
%%================================================================================
|
||||
%% behavior callbacks
|
||||
%% behaviour callbacks
|
||||
%%================================================================================
|
||||
|
||||
%%================================================================================
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%%--------------------------------------------------------------------
|
||||
-module(emqx_replay_local_store).
|
||||
|
||||
-behavior(gen_server).
|
||||
-behaviour(gen_server).
|
||||
|
||||
%% API:
|
||||
-export([start_link/1]).
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
-export([preserve_iterator/2, restore_iterator/2, discard_iterator/2]).
|
||||
|
||||
%% behavior callbacks:
|
||||
%% behaviour callbacks:
|
||||
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2]).
|
||||
|
||||
-export_type([cf_refs/0, gen_id/0, db_write_options/0, state/0, iterator/0]).
|
||||
|
@ -156,7 +156,7 @@ discard_iterator(Shard, ReplayID) ->
|
|||
iterator_delete(Shard, ReplayID).
|
||||
|
||||
%%================================================================================
|
||||
%% behavior callbacks
|
||||
%% behaviour callbacks
|
||||
%%================================================================================
|
||||
|
||||
init([Shard]) ->
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
%%--------------------------------------------------------------------
|
||||
-module(emqx_replay_local_store_sup).
|
||||
|
||||
-behavior(supervisor).
|
||||
-behaviour(supervisor).
|
||||
|
||||
%% API:
|
||||
-export([start_link/0, start_shard/1, stop_shard/1]).
|
||||
|
||||
%% behavior callbacks:
|
||||
%% behaviour callbacks:
|
||||
-export([init/1]).
|
||||
|
||||
%%================================================================================
|
||||
|
@ -35,7 +35,7 @@ stop_shard(Shard) ->
|
|||
ok = supervisor:delete_child(?SUP, Shard).
|
||||
|
||||
%%================================================================================
|
||||
%% behavior callbacks
|
||||
%% behaviour callbacks
|
||||
%%================================================================================
|
||||
|
||||
init([]) ->
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
%%--------------------------------------------------------------------
|
||||
-module(emqx_replay_sup).
|
||||
|
||||
-behavior(supervisor).
|
||||
-behaviour(supervisor).
|
||||
|
||||
%% API:
|
||||
-export([start_link/0]).
|
||||
|
||||
%% behavior callbacks:
|
||||
%% behaviour callbacks:
|
||||
-export([init/1]).
|
||||
|
||||
%%================================================================================
|
||||
|
@ -26,7 +26,7 @@ start_link() ->
|
|||
supervisor:start_link({local, ?SUP}, ?MODULE, []).
|
||||
|
||||
%%================================================================================
|
||||
%% behavior callbacks
|
||||
%% behaviour callbacks
|
||||
%%================================================================================
|
||||
|
||||
init([]) ->
|
||||
|
|
Loading…
Reference in New Issue