Package akka.persistence
Class SnapshotMetadata
- java.lang.Object
-
- akka.persistence.SnapshotMetadata
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
public final class SnapshotMetadata extends java.lang.Object implements scala.Product, scala.Serializable
Snapshot metadata.param: persistenceId id of persistent actor from which the snapshot was taken. param: sequenceNr sequence number at which the snapshot was taken. param: timestamp time at which the snapshot was saved, defaults to 0 when unknown.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotMetadata(java.lang.String persistenceId, long sequenceNr, long timestamp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static long
$lessinit$greater$default$3()
static SnapshotMetadata
apply(java.lang.String persistenceId, long sequenceNr, long timestamp)
static long
apply$default$3()
boolean
canEqual(java.lang.Object x$1)
SnapshotMetadata
copy(java.lang.String persistenceId, long sequenceNr, long timestamp)
java.lang.String
copy$default$1()
long
copy$default$2()
long
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
static scala.math.Ordering<SnapshotMetadata>
ordering()
java.lang.String
persistenceId()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
long
sequenceNr()
long
timestamp()
java.lang.String
toString()
static scala.Option<scala.Tuple3<java.lang.String,java.lang.Object,java.lang.Object>>
unapply(SnapshotMetadata x$0)
-
-
-
Method Detail
-
$lessinit$greater$default$3
public static long $lessinit$greater$default$3()
-
ordering
public static scala.math.Ordering<SnapshotMetadata> ordering()
-
apply
public static SnapshotMetadata apply(java.lang.String persistenceId, long sequenceNr, long timestamp)
-
apply$default$3
public static long apply$default$3()
-
unapply
public static scala.Option<scala.Tuple3<java.lang.String,java.lang.Object,java.lang.Object>> unapply(SnapshotMetadata x$0)
-
persistenceId
public java.lang.String persistenceId()
-
sequenceNr
public long sequenceNr()
-
timestamp
public long timestamp()
-
copy
public SnapshotMetadata copy(java.lang.String persistenceId, long sequenceNr, long timestamp)
-
copy$default$1
public java.lang.String copy$default$1()
-
copy$default$2
public long copy$default$2()
-
copy$default$3
public long 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
-
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
-
-