syntax

kofre.datatypes.alternatives.ResettableCounter.syntax
implicit class syntax[C](container: C) extends OpsSyntaxHelper[C, ResettableCounter]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

final type CausalMutator = IsCausalMutator ?=> C

Attributes

Inherited from:
OpsTypes
final type IdMutator = ReplicaId ?=> Mutator

Attributes

Inherited from:
OpsTypes

Attributes

Inherited from:
OpsTypes

Attributes

Inherited from:
OpsTypes

Attributes

Inherited from:
OpsTypes
final type Mutator = IsMutator ?=> C

Attributes

Inherited from:
OpsTypes

Value members

Concrete methods

def fresh(using ReplicaId)(): CausalMutator

Without using fresh, reset wins over concurrent increments/decrements When using fresh after every time deltas are shipped to other replicas, increments/decrements win over concurrent resets

Without using fresh, reset wins over concurrent increments/decrements When using fresh after every time deltas are shipped to other replicas, increments/decrements win over concurrent resets

Attributes

def reset()(using IsCausalMutator): C
def value(using IsQuery): Int

Inherited methods

def delta(l: ResettableCounter)(using perm: IsMutator): C

Attributes

Inherited from:
OpsSyntaxHelper
def delta(l: Dotted[ResettableCounter])(using perm: IsCausalMutator): C

Attributes

Inherited from:
OpsSyntaxHelper

Extensions

Inherited extensions

extension [A](a: A)

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: ResettableCounter)

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: Dotted[ResettableCounter])(using perm: IsCausalMutator)
def mutator: C

Attributes

Inherited from:
OpsSyntaxHelper