View Source Ravix.Connection.ServerNode (ravix v0.1.0)
State of a RavenDB connection executor node
- store: Atom of the RavenDB Store, E.g: Ravix.Test.Store
- url: URL of this node
- port: port of this node
- conn: TCP Connection State
- certificate: User SSL certificate for this node
- requests: Currently executing request calls to RavenDB
- protocol: http or https
- database: For which database is this executor
- cluster_tag: Tag of this node in the RavenDB cluster
- opts: General node Options
Link to this section Summary
Functions
Create a new node state based on the RavenDB Topology response
Creates a new node state from the url, database name and ssl certificate
Helper method to build the url for Database specific API requests
Link to this section Types
@type t() :: %Ravix.Connection.ServerNode{ certificate: map() | nil, cluster_tag: String.t() | nil, conn: Mint.HTTP.t() | nil, database: String.t(), opts: keyword(), port: non_neg_integer(), protocol: atom(), requests: map(), store: atom(), url: String.t() }
Link to this section Functions
Create a new node state based on the RavenDB Topology response
Creates a new node state from the url, database name and ssl certificate
Helper method to build the url for Database specific API requests