Package akka.persistence
Class JournalProtocol.DeleteMessagesTo
- java.lang.Object
-
- akka.persistence.JournalProtocol.DeleteMessagesTo
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,JournalProtocol.Message
,JournalProtocol.Request
,Protocol.Message
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- JournalProtocol
public static final class JournalProtocol.DeleteMessagesTo extends java.lang.Object implements JournalProtocol.Request, scala.Product, java.io.Serializable
Request to delete all persistent messages with sequence numbers up totoSequenceNr
(inclusive).Long.MaxValue
may be used astoSequenceNr
to delete all persistent messages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeleteMessagesTo(java.lang.String persistenceId, long toSequenceNr, ActorRef persistentActor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
JournalProtocol.DeleteMessagesTo
copy(java.lang.String persistenceId, long toSequenceNr, ActorRef persistentActor)
java.lang.String
copy$default$1()
long
copy$default$2()
ActorRef
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
java.lang.String
persistenceId()
ActorRef
persistentActor()
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()
long
toSequenceNr()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DeleteMessagesTo
public DeleteMessagesTo(java.lang.String persistenceId, long toSequenceNr, ActorRef persistentActor)
-
-
Method Detail
-
persistenceId
public java.lang.String persistenceId()
-
toSequenceNr
public long toSequenceNr()
-
persistentActor
public ActorRef persistentActor()
-
copy
public JournalProtocol.DeleteMessagesTo copy(java.lang.String persistenceId, long toSequenceNr, ActorRef persistentActor)
-
copy$default$1
public java.lang.String copy$default$1()
-
copy$default$2
public long copy$default$2()
-
copy$default$3
public ActorRef copy$default$3()
-
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
-
-