AggregateFootprint

org.sigilaris.core.application.scheduling.AggregateFootprint
See theAggregateFootprint companion object
final case class AggregateFootprint(readsSeen: Set[StateRef], writesSeen: Set[StateRef])

Accumulated reads and writes seen so far during batch conflict checking.

Value parameters

readsSeen

all state references read by previously accepted items

writesSeen

all state references written by previously accepted items

Attributes

Companion
object
Source
Verification.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def accept[A](item: A, footprint: ConflictFootprint): Either[FootprintConflict[A], AggregateFootprint]

Attempts to accept a new item's footprint into the aggregate, failing on conflict.

Attempts to accept a new item's footprint into the aggregate, failing on conflict.

Type parameters

A

the item type

Value parameters

footprint

the item's conflict footprint

item

the item being accepted (used in conflict reporting)

Attributes

Returns

either a conflict or the updated aggregate

Source
Verification.scala

Converts this aggregate back to a ConflictFootprint.

Converts this aggregate back to a ConflictFootprint.

Attributes

Returns

the accumulated footprint

Source
Verification.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product