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 nextchanges
orcurrentChanges
query. 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 Offset
offset()
The offset that can be used in nextchanges
orcurrentChanges
query.java.lang.String
persistenceId()
The persistence id of the origin entity.long
revision()
long
timestamp()
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:DurableStateChange
The persistence id of the origin entity.- Specified by:
persistenceId
in interfaceDurableStateChange<A>
-
revision
public long revision()
-
offset
public Offset offset()
Description copied from interface:DurableStateChange
The offset that can be used in nextchanges
orcurrentChanges
query.- Specified by:
offset
in interfaceDurableStateChange<A>
-
timestamp
public long timestamp()
-
-