Sha256: be8bb48f63717849fd32b68ff49cab5b1fe12eee4c164df638705bf388192700

Contents?: true

Size: 1.79 KB

Versions: 28

Compression:

Stored size: 1.79 KB

Contents

%%%-------------------------------------------------------------------
%%% File:      thrift_sup.erl
%%% @author    Cliff Moon <> []
%%% @copyright 2009 Cliff Moon
%%% @doc  
%%%
%%% @end  
%%%
%%% @since 2009-04-04 by Cliff Moon
%%%-------------------------------------------------------------------
-module(thrift_sup).
-author('').

-behaviour(supervisor).

%% API
-export([start_link/0]).

%% Supervisor callbacks
-export([init/1]).

-define(SERVER, ?MODULE).

%%====================================================================
%% API functions
%%====================================================================
%%--------------------------------------------------------------------
%% @spec start_link() -> {ok,Pid} | ignore | {error,Error}
%% @doc Starts the supervisor
%% @end 
%%--------------------------------------------------------------------
start_link() ->
  supervisor:start_link({local, ?SERVER}, ?MODULE, []).

%%====================================================================
%% Supervisor callbacks
%%====================================================================
%%--------------------------------------------------------------------
%% @spec init(Args) -> {ok,  {SupFlags,  [ChildSpec]}} |
%%                     ignore                          |
%%                     {error, Reason}
%% @doc Whenever a supervisor is started using 
%% supervisor:start_link/[2,3], this function is called by the new process 
%% to find out about restart strategy, maximum restart frequency and child 
%% specifications.
%% @end 
%%--------------------------------------------------------------------
init([]) ->
  {ok,{{one_for_all,0,1}, []}}.

%%====================================================================
%% Internal functions
%%====================================================================

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
auser-poolparty-1.3.0 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.1 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.10 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.11 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.12 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.13 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.14 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.15 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.16 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.17 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.2 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.3 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.4 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.5 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.6 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.7 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
auser-poolparty-1.3.8 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
fairchild-poolparty-1.3.17 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
fairchild-poolparty-1.3.5 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl
poolparty-1.3.15 examples/thrift/erlang/deps/thrift/src/thrift_sup.erl