Bolt.Sips v2.0.0-rc.1 Bolt.Sips.Router View Source
This "driver" works in tandem with Neo4j's Causal Clustering feature by directing read and write behaviour to appropriate cluster members
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
start a new (DB)Connection process, supervised registered under a name following this convention
Link to this section Functions
Link to this function
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
configure(opts) View Source
Link to this function
get_connection(role, prefix \\ :direct) View Source
Link to this function
info() View Source
Link to this function
merge_connections_maps(current_connections, new_connections, prefix \\ :default) View Source
Link to this function
routing_table(prefix) View Source
Link to this function
start_connections(opts, routing_table) View Source
start a new (DB)Connection process, supervised registered under a name following this convention:
- "role@hostname:port", the
role,hostnameand theportare collected from the user's configuration:opts. Theroleparameter is ignored when therouting_tableparameter represents a neo4j map containing the definition for a neo4j cluster! It defaults to::direct, when not specified!
Link to this function
start_link(init_args) View Source
Link to this function