View Source erldist_filter_routers_sup (erldist_filter v1.1.0)

Link to this section Summary

Link to this section Types

-type router_count() :: non_neg_integer().

Link to this section Functions

-spec child_spec() -> supervisor:child_spec().
-spec child_spec(RouterCount) -> supervisor:child_spec() when RouterCount :: router_count().
Link to this function

child_specs(RouterCount)

View Source
-spec child_specs(RouterCount) -> ChildSpecs
               when RouterCount :: router_count(), ChildSpecs :: [supervisor:child_spec()].
-spec init({RouterCount}) -> InitResult
        when
            RouterCount :: router_count(),
            InitResult :: {ok, {SupFlags, [ChildSpec]}} | ignore,
            SupFlags :: supervisor:sup_flags(),
            ChildSpec :: supervisor:child_spec().
-spec start_link() -> supervisor:startlink_ret().
-spec start_link(RouterCount) -> supervisor:startlink_ret() when RouterCount :: router_count().
-spec sup_flags() -> supervisor:sup_flags().