BoundedCounterSyntax

kofre.protocol.BoundedCounter$.BoundedCounterSyntax
implicit class BoundedCounterSyntax[C](container: C)(using x$2: ArdtOpsContains[C, BoundedCounter]) extends OpsSyntaxHelper[C, BoundedCounter]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

Attributes

Inherited from:
OpsSyntaxHelper
final type CausalP = PermCausal[C]

Attributes

Inherited from:
OpsSyntaxHelper
final type IdentifierP = PermId[C]

Attributes

Inherited from:
OpsSyntaxHelper
final type MutationIdP = PermIdMutate[C, L]

Attributes

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

Attributes

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

Attributes

Inherited from:
OpsSyntaxHelper

Value members

Concrete methods

def addParticipants(part: Set[Id])(using MutationIdP): C
def allocate(value: Int)(using MutationIdP): C
def allocated(using IdentifierP, QueryP): Int
def available(using IdentifierP, QueryP): Int
def invariantOk(using QueryP): Unit
def rebalance(using MutationIdP): C
def reserved(using IdentifierP, QueryP): Int
def transfer(amount: Int, target: Id)(using MutationIdP): C

Inherited methods

final protected def context(using perm: CausalP): Dots

Attributes

Inherited from:
OpsSyntaxHelper
final protected def current(using perm: QueryP): L

Attributes

Inherited from:
OpsSyntaxHelper
final protected def replicaID(using perm: IdentifierP): Id

Attributes

Inherited from:
OpsSyntaxHelper

Extensions

Inherited extensions

extension [A](c: Dotted[A])

Attributes

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

Attributes

Inherited from:
OpsSyntaxHelper
extension (l: L)
def mutator(using perm: MutationP): C

Attributes

Inherited from:
OpsSyntaxHelper