Package akka.persistence
Class SnapshotProtocol.LoadSnapshotResult
- java.lang.Object
-
- akka.persistence.SnapshotProtocol.LoadSnapshotResult
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,Protocol.Message
,SnapshotProtocol.Message
,SnapshotProtocol.Response
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- SnapshotProtocol
public static final class SnapshotProtocol.LoadSnapshotResult extends java.lang.Object implements SnapshotProtocol.Response, scala.Product, java.io.Serializable
Response message to aSnapshotProtocol.LoadSnapshot
message.param: snapshot loaded snapshot, if any.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LoadSnapshotResult(scala.Option<SelectedSnapshot> snapshot, long toSequenceNr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEqual(java.lang.Object x$1)
SnapshotProtocol.LoadSnapshotResult
copy(scala.Option<SelectedSnapshot> snapshot, long toSequenceNr)
scala.Option<SelectedSnapshot>
copy$default$1()
long
copy$default$2()
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()
scala.Option<SelectedSnapshot>
snapshot()
long
toSequenceNr()
java.lang.String
toString()
-
-
-
Constructor Detail
-
LoadSnapshotResult
public LoadSnapshotResult(scala.Option<SelectedSnapshot> snapshot, long toSequenceNr)
-
-
Method Detail
-
snapshot
public scala.Option<SelectedSnapshot> snapshot()
-
toSequenceNr
public long toSequenceNr()
-
copy
public SnapshotProtocol.LoadSnapshotResult copy(scala.Option<SelectedSnapshot> snapshot, long toSequenceNr)
-
copy$default$1
public scala.Option<SelectedSnapshot> copy$default$1()
-
copy$default$2
public long copy$default$2()
-
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
-
-