ConflictFootprint

org.sigilaris.core.application.scheduling.ConflictFootprint
See theConflictFootprint companion object
final case class ConflictFootprint(reads: Set[StateRef], writes: Set[StateRef])

Describes the set of state references a transaction reads from and writes to.

Used by the batch scheduler to detect read-write and write-write conflicts between transactions within a batch.

Value parameters

reads

the state references read by the transaction

writes

the state references written by the transaction

Attributes

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

Members list

Value members

Concrete methods

Combines this footprint with another by unioning reads and writes.

Combines this footprint with another by unioning reads and writes.

Value parameters

other

the other footprint

Attributes

Returns

the combined footprint

Source
ConflictFootprint.scala
def conflictsWith(other: ConflictFootprint): Boolean

Tests whether this footprint conflicts with another.

Tests whether this footprint conflicts with another.

Value parameters

other

the other footprint to test against

Attributes

Returns

true if there is a read-write or write-write overlap

Source
ConflictFootprint.scala

Computes the reads and writes in this footprint that are not in the declared footprint.

Computes the reads and writes in this footprint that are not in the declared footprint.

Value parameters

declared

the declared footprint to compare against

Attributes

Returns

a footprint containing only the unexpected state references

Source
ConflictFootprint.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product