Class Counter
java.lang.Object
org.apache.pekko.persistence.typed.crdt.Counter
- All Implemented Interfaces:
Serializable,OpCrdt<Counter.Updated>,scala.Equals,scala.Product
public final class Counter
extends Object
implements OpCrdt<Counter.Updated>, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Counterapply(scala.math.BigInt value) applyOperation(Counter.Updated event) booleancopy(scala.math.BigInt value) scala.math.BigIntstatic Counterempty()booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static scala.Option<scala.math.BigInt>scala.math.BigIntvalue()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Counter
public Counter(scala.math.BigInt value)
-
-
Method Details
-
empty
-
apply
-
unapply
-
value
public scala.math.BigInt value() -
applyOperation
- Specified by:
applyOperationin interfaceOpCrdt<Counter.Updated>
-
copy
-
copy$default$1
public scala.math.BigInt copy$default$1() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-