PeerCorrelationId
org.sigilaris.node.gossip.GossipIdentifiers$package.PeerCorrelationId
object PeerCorrelationId
Companion for PeerCorrelationId.
Attributes
- Source
- GossipIdentifiers.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PeerCorrelationId.type
Members list
Value members
Concrete methods
Compares two correlation ids lexicographically, used for simultaneous-open tie-breaking.
Compares two correlation ids lexicographically, used for simultaneous-open tie-breaking.
Value parameters
- left
-
the first id
- right
-
the second id
Attributes
- Returns
-
negative, zero, or positive per standard comparison contract
- Source
- GossipIdentifiers.scala
Parses a string into a validated peer correlation id.
Parses a string into a validated peer correlation id.
Value parameters
- value
-
the raw string; must already be a lowercase canonical UUIDv4
Attributes
- Returns
-
the validated id or an error message
- Source
- GossipIdentifiers.scala
Generates a random peer correlation identifier.
Generates a random peer correlation identifier.
Attributes
- Returns
-
a new random correlation id
- Source
- GossipIdentifiers.scala
Givens
Givens
Attributes
- Source
- GossipIdentifiers.scala
Extensions
Extensions
extension (id: PeerCorrelationId)
Attributes
- Source
- GossipIdentifiers.scala
In this article