StaticPeerBootstrapHttpTransportConfig

org.sigilaris.node.jvm.runtime.gossip.StaticPeerBootstrapHttpTransportConfig

Attributes

Companion
class
Source
StaticPeerBootstrapHttpTransportConfig.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

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

Loads bootstrap HTTP transport config from the given Typesafe Config.

Loads bootstrap HTTP transport config from the given Typesafe Config.

Value parameters

config

the root config

path

the config path to read from

topology

the peer topology for validation

Attributes

Returns

the config, None if no bootstrap section, or an error

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

Loads bootstrap config from a pre-resolved config section.

Loads bootstrap config from a pre-resolved config section.

Value parameters

section

the config section at the gossip path

topology

the peer topology for validation

Attributes

Returns

the config, None if no bootstrap section, or an error

Source
StaticPeerBootstrapHttpTransportConfig.scala
def parse(config: Config, path: String): Either[String, Option[StaticPeerBootstrapHttpTransportConfigInput]]

Parses the raw bootstrap transport input model from the root config.

Parses the raw bootstrap transport input model from the root config.

Attributes

Source
StaticPeerBootstrapHttpTransportConfig.scala
def parseSection(section: Config): Either[String, Option[StaticPeerBootstrapHttpTransportConfigInput]]

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

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

Attributes

Source
StaticPeerBootstrapHttpTransportConfig.scala

Concrete fields

Default maximum concurrent HTTP requests.

Default maximum concurrent HTTP requests.

Attributes

Source
StaticPeerBootstrapHttpTransportConfig.scala
val DefaultPath: String

Default config path for peer gossip settings.

Default config path for peer gossip settings.

Attributes

Source
StaticPeerBootstrapHttpTransportConfig.scala
val DefaultRequestTimeout: Duration

Default HTTP request timeout.

Default HTTP request timeout.

Attributes

Source
StaticPeerBootstrapHttpTransportConfig.scala