syntax

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

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
final type IsQuery = PermQuery[C, BoundedCounter]

Attributes

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

Attributes

Inherited from:
OpsTypes

Value members

Concrete methods

def addParticipants(part: Set[Uid])(using IsMutator): C
def allocate(value: Int): IdMutator
def allocated(using IsQuery)(id: Uid): Int
def available(using IsQuery)(id: Uid): Int
def available(using ReplicaId, IsQuery): Int
def invariantOk(using IsQuery): Unit
def reserved(using ReplicaId, IsQuery): Int
def reserved(using IsQuery)(id: Uid): Int
def transfer(amount: Int, target: Uid): IdMutator

Inherited methods

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

Attributes

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

Attributes

Inherited from:
OpsSyntaxHelper

Extensions

Inherited extensions

extension [A](a: A)

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: BoundedCounter)

Attributes

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

Attributes

Inherited from:
OpsSyntaxHelper