StaticPeerTopologyConfig

org.sigilaris.node.jvm.runtime.gossip.StaticPeerTopologyConfig

Attributes

Source
StaticPeerTopologyConfig.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def load(config: Config, path: String): Either[String, StaticPeerTopology]

Loads a peer topology from the given config at the specified path.

Loads a peer topology from the given config at the specified path.

Value parameters

config

the root config

path

the config path to read from

Attributes

Returns

the topology, or an error message

Source
StaticPeerTopologyConfig.scala
def loadSection(section: Config): Either[String, StaticPeerTopology]

Loads a peer topology from a pre-resolved config section.

Loads a peer topology from a pre-resolved config section.

Value parameters

section

the config section at the gossip peers path

Attributes

Returns

the topology, or an error message

Source
StaticPeerTopologyConfig.scala
def parse(config: Config, path: String): Either[String, StaticPeerTopologyConfigInput]

Parses the raw config input model from the root config.

Parses the raw config input model from the root config.

Attributes

Source
StaticPeerTopologyConfig.scala
def parseSection(section: Config): Either[String, StaticPeerTopologyConfigInput]

Parses the raw config input model from a pre-resolved section.

Parses the raw config input model from a pre-resolved section.

Attributes

Source
StaticPeerTopologyConfig.scala

Concrete fields

val DefaultPath: String

Default config path for peer topology settings.

Default config path for peer topology settings.

Attributes

Source
StaticPeerTopologyConfig.scala