Package akka.persistence.query
Class UpdatedDurableState<A>
- java.lang.Object
-
- akka.persistence.query.UpdatedDurableState<A>
-
- Type Parameters:
A- the type of the value
- All Implemented Interfaces:
DurableStateChange<A>
public final class UpdatedDurableState<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: value The object value. 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 UpdatedDurableState(java.lang.String persistenceId, long revision, A value, 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.Tuple5<java.lang.String,java.lang.Object,A,Offset,java.lang.Object>>unapply(UpdatedDurableState<A> arg)Avalue()
-
-
-
Method Detail
-
unapply
public static <A> scala.Option<scala.Tuple5<java.lang.String,java.lang.Object,A,Offset,java.lang.Object>> unapply(UpdatedDurableState<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()
-
value
public A value()
-
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()
-
-