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

Concise view

Type members

Inherited types

final type IdMut[C] = ReplicaId ?=> PermMutate ?=> C

Attributes

Inherited from:
OpsTypes

Attributes

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

Attributes

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

Attributes

Inherited from:
OpsTypes
final type ReplicaId = ReplicaId

Attributes

Inherited from:
OpsTypes

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

Extensions

Inherited extensions

extension [A](a: A)

Attributes

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

Attributes

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

Attributes

Inherited from:
OpsSyntaxHelper