Class 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 next changes or currentChanges query. param: timestamp The time the state was stored, in milliseconds since midnight, January 1, 1970 UTC (same as System.currentTimeMillis).
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdatedDurableState​(java.lang.String persistenceId, long revision, A value, Offset offset, long timestamp)  
    • Constructor Detail

      • UpdatedDurableState

        public UpdatedDurableState​(java.lang.String persistenceId,
                                   long revision,
                                   A value,
                                   Offset offset,
                                   long timestamp)
    • 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)
      • revision

        public long revision()
      • value

        public A value()
      • timestamp

        public long timestamp()