Package org.apache.pekko.persistence
Class AtomicWrite
- java.lang.Object
-
- org.apache.pekko.persistence.AtomicWrite
-
- All Implemented Interfaces:
java.io.Serializable
,PersistentEnvelope
,Message
,scala.Equals
,scala.Product
public final class AtomicWrite extends java.lang.Object implements PersistentEnvelope, Message, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AtomicWrite(scala.collection.immutable.Seq<PersistentRepr> payload)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AtomicWrite
apply(PersistentRepr event)
static AtomicWrite
apply(scala.collection.immutable.Seq<PersistentRepr> payload)
boolean
canEqual(java.lang.Object x$1)
AtomicWrite
copy(scala.collection.immutable.Seq<PersistentRepr> payload)
scala.collection.immutable.Seq<PersistentRepr>
copy$default$1()
boolean
equals(java.lang.Object x$1)
int
hashCode()
long
highestSequenceNr()
long
lowestSequenceNr()
scala.collection.immutable.Seq<PersistentRepr>
payload()
java.lang.String
persistenceId()
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()
ActorRef
sender()
int
size()
java.lang.String
toString()
static scala.Option<scala.collection.immutable.Seq<PersistentRepr>>
unapply(AtomicWrite x$0)
-
-
-
Constructor Detail
-
AtomicWrite
public AtomicWrite(scala.collection.immutable.Seq<PersistentRepr> payload)
-
-
Method Detail
-
apply
public static AtomicWrite apply(PersistentRepr event)
-
apply
public static AtomicWrite apply(scala.collection.immutable.Seq<PersistentRepr> payload)
-
unapply
public static scala.Option<scala.collection.immutable.Seq<PersistentRepr>> unapply(AtomicWrite x$0)
-
payload
public scala.collection.immutable.Seq<PersistentRepr> payload()
- Specified by:
payload
in interfacePersistentEnvelope
-
persistenceId
public java.lang.String persistenceId()
-
lowestSequenceNr
public long lowestSequenceNr()
-
highestSequenceNr
public long highestSequenceNr()
-
sender
public ActorRef sender()
- Specified by:
sender
in interfacePersistentEnvelope
-
size
public int size()
- Specified by:
size
in interfacePersistentEnvelope
-
copy
public AtomicWrite copy(scala.collection.immutable.Seq<PersistentRepr> payload)
-
copy$default$1
public scala.collection.immutable.Seq<PersistentRepr> 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
-
-