Package akka.persistence.query
Class DeletedDurableState<A>
- java.lang.Object
-
- akka.persistence.query.DeletedDurableState<A>
-
- Type Parameters:
A- the type of the value
- All Implemented Interfaces:
DurableStateChange<A>
public final class DeletedDurableState<A> extends java.lang.Object implements DurableStateChange<A>
param: persistenceId The persistence id of the origin entity. param: revision The revision number from the origin entity. param: offset The offset that can be used in nextchangesorcurrentChangesquery. param: timestamp The time the state was stored, in milliseconds since midnight, January 1, 1970 UTC (same asSystem.currentTimeMillis).
-
-
Constructor Summary
Constructors Constructor Description DeletedDurableState(java.lang.String persistenceId, long revision, Offset offset, long timestamp)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Offsetoffset()The offset that can be used in nextchangesorcurrentChangesquery.java.lang.StringpersistenceId()The persistence id of the origin entity.longrevision()longtimestamp()static <A> scala.Option<scala.Tuple4<java.lang.String,java.lang.Object,Offset,java.lang.Object>>unapply(DeletedDurableState<A> arg)
-
-
-
Constructor Detail
-
DeletedDurableState
public DeletedDurableState(java.lang.String persistenceId, long revision, Offset offset, long timestamp)
-
-
Method Detail
-
unapply
public static <A> scala.Option<scala.Tuple4<java.lang.String,java.lang.Object,Offset,java.lang.Object>> unapply(DeletedDurableState<A> arg)
-
persistenceId
public java.lang.String persistenceId()
Description copied from interface:DurableStateChangeThe persistence id of the origin entity.- Specified by:
persistenceIdin interfaceDurableStateChange<A>
-
revision
public long revision()
-
offset
public Offset offset()
Description copied from interface:DurableStateChangeThe offset that can be used in nextchangesorcurrentChangesquery.- Specified by:
offsetin interfaceDurableStateChange<A>
-
timestamp
public long timestamp()
-
-