agency v0.3.1 Agency.Multi View Source

Supervisor managing a hashring of agents behind.

It starts a DynamicSupervisor that takes care of all the ringed children.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Routes the call to the proper agent based on hashring

Routes the call to the proper agent based on hashring

Routes the call to the proper agent based on hashring

Routes the call to the proper agent based on hashring

Starts the supervisor for multy-agency.

Routes the call to the proper agent based on hashring

Link to this section Types

Specs

option() ::
  {:count, integer()}
  | {:name, atom()}
  | {:agent, module()}
  | {:agent_opts, keyword()}

Specs

options() :: [option()]

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Routes the call to the proper agent based on hashring

Link to this function

get_and_update(arg1, arg2)

View Source

Routes the call to the proper agent based on hashring

Routes the call to the proper agent based on hashring

Routes the call to the proper agent based on hashring

Specs

start_link(opts :: options()) :: GenServer.on_start()

Starts the supervisor for multy-agency.

Routes the call to the proper agent based on hashring