RCounterSyntax

kofre.decompose.interfaces.RCounterInterface$.RCounterSyntax
implicit class RCounterSyntax[C](container: C) extends OpsSyntaxHelper[C, RCounter]

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

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 CausalMutationP): C
def value(using QueryP): Int

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