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 CausalMutate = PermCausalMutate ?=> C

Attributes

Inherited from:
OpsTypes
final type IdMutate = ReplicaId ?=> Mutate

Attributes

Inherited from:
OpsTypes
final type Mutate = PermMutate ?=> C

Attributes

Inherited from:
OpsTypes
final type PermCausalMutate = PermCausalMutate[C, L]

Attributes

Inherited from:
OpsTypes
final type PermMutate = PermMutate[C, L]

Attributes

Inherited from:
OpsTypes
final type PermQuery = PermQuery[C, L]

Attributes

Inherited from:
OpsTypes

Value members

Concrete methods

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

Extensions

Inherited extensions

extension [A](a: A)

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: BoundedCounter)

Attributes

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

Attributes

Inherited from:
OpsSyntaxHelper