ControlBatch

org.sigilaris.node.gossip.ControlBatch
See theControlBatch companion class
object ControlBatch

Companion for ControlBatch.

Attributes

Companion
class
Source
GossipSessionProtocol.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 create(idempotencyKey: String, ops: Vector[ControlOp]): Either[ControlBatchRejected, ControlBatch]

Creates a control batch, validating the idempotency key.

Creates a control batch, validating the idempotency key.

Value parameters

idempotencyKey

the raw idempotency key string

ops

the control operations

Attributes

Returns

the batch, or a rejection if the key is invalid

Source
GossipSessionProtocol.scala