Package akka.persistence.typed.crdt
Class Counter
- java.lang.Object
-
- akka.persistence.typed.crdt.Counter
-
- All Implemented Interfaces:
OpCrdt<Counter.Updated>
,java.io.Serializable
,scala.Equals
,scala.Product
public final class Counter extends java.lang.Object implements OpCrdt<Counter.Updated>, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Counter.Updated
static class
Counter.Updated$
-
Constructor Summary
Constructors Constructor Description Counter(scala.math.BigInt value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Counter
apply(scala.math.BigInt value)
Counter
applyOperation(Counter.Updated event)
boolean
canEqual(java.lang.Object x$1)
Counter
copy(scala.math.BigInt value)
scala.math.BigInt
copy$default$1()
static Counter
empty()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
java.lang.String
toString()
static scala.Option<scala.math.BigInt>
unapply(Counter x$0)
scala.math.BigInt
value()
-
-
-
Method Detail
-
empty
public static Counter empty()
-
apply
public static Counter apply(scala.math.BigInt value)
-
unapply
public static scala.Option<scala.math.BigInt> unapply(Counter x$0)
-
value
public scala.math.BigInt value()
-
applyOperation
public Counter applyOperation(Counter.Updated event)
- Specified by:
applyOperation
in interfaceOpCrdt<Counter.Updated>
-
copy
public Counter copy(scala.math.BigInt value)
-
copy$default$1
public scala.math.BigInt copy$default$1()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-