Manifold.Partitioner (manifold v1.7.0)

Copy Markdown

Summary

Functions

child_spec(init_arg)

@spec child_spec(Keyword.t()) :: tuple()

Returns a specification to start this module under a supervisor.

See Supervisor.

child_spec(partitions, opts \\ [])

init(partitions)

Callback implementation for GenServer.init/1.

send(partitioner, pids, message)

@spec send(partitioner :: GenServer.server(), pids :: [pid()], message :: term()) ::
  :ok

start_link(partitions, opts \\ [])

@spec start_link(Number.t(), Keyword.t()) :: GenServer.on_start()