View Source Conion.Store.Server (conion v0.1.0)
Conion's Store Server (DataGateway)
Summary
Functions
safely call the GenServer.callback return an error tuple if the bucket is not alive
safely cast the GenServer.callback return an error tuple if the bucket is not alive
Returns a specification to start this module under a supervisor.
Returns the state of a server. You can pass an atom or pid.
Overridable
Overridable
Start the server with either
Functions
safely call the GenServer.callback return an error tuple if the bucket is not alive
safely cast the GenServer.callback return an error tuple if the bucket is not alive
Returns a specification to start this module under a supervisor.
See Supervisor
.
Returns the state of a server. You can pass an atom or pid.
Overridable:
Prepares, validates, formats the given state to be passed to init()
Overridable:
Should return the args passed to start_link. For a named server it extracts
the :initial_state from the opts
. For unnamed processes it takes opts
as the initial state.
Start the server with either
MyServer.start_link(initial_state) ... start an unregistered server with the given
initial state.
MyServer.start_link(name: :registered_as_whatever, initial_state: any) ...
start a registered server with `initial_state` as it's state.