Class PersistentImpl

    • Constructor Detail

      • PersistentImpl

        public PersistentImpl​(java.lang.Object payload,
                              long sequenceNr,
                              java.lang.String persistenceId,
                              java.lang.String manifest,
                              boolean deleted,
                              ActorRef sender,
                              java.lang.String writerUuid,
                              long timestamp)
    • Method Detail

      • apply

        public static PersistentImpl apply​(java.lang.Object payload,
                                           long sequenceNr,
                                           java.lang.String persistenceId,
                                           java.lang.String manifest,
                                           boolean deleted,
                                           ActorRef sender,
                                           java.lang.String writerUuid,
                                           long timestamp)
      • unapply

        public static scala.Option<scala.Tuple8<java.lang.Object,​java.lang.Object,​java.lang.String,​java.lang.String,​java.lang.Object,​ActorRef,​java.lang.String,​java.lang.Object>> unapply​(PersistentImpl x$0)
      • payload

        public java.lang.Object payload()
        Description copied from interface: PersistentRepr
        This persistent message's payload (the event).
        Specified by:
        payload in interface PersistentRepr
      • persistenceId

        public java.lang.String persistenceId()
        Description copied from interface: PersistentRepr
        Persistent id that journals a persistent message
        Specified by:
        persistenceId in interface PersistentRepr
      • manifest

        public java.lang.String manifest()
        Description copied from interface: PersistentRepr
        Returns the event adapter manifest for the persistent payload (event) if available May be "" if event adapter manifest is not used. Note that this is not the same as the manifest of the serialized representation of the payload.
        Specified by:
        manifest in interface PersistentRepr
      • deleted

        public boolean deleted()
        Description copied from interface: PersistentRepr
        Not used, can always be false.

        Not used in new records stored with Akka v2.4, but old records from v2.3 may have this as true if it was a non-permanent delete.

        Specified by:
        deleted in interface PersistentRepr
      • writerUuid

        public java.lang.String writerUuid()
        Description copied from interface: PersistentRepr
        Unique identifier of the writing persistent actor. Used to detect anomalies with overlapping writes from multiple persistent actors, which can result in inconsistent replays.
        Specified by:
        writerUuid in interface PersistentRepr
      • timestamp

        public long timestamp()
        Description copied from interface: PersistentRepr
        The timestamp is the time the event was stored, in milliseconds since midnight, January 1, 1970 UTC (same as System.currentTimeMillis).

        Value 0 is used if undefined.

        Specified by:
        timestamp in interface PersistentRepr
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • copy

        public PersistentImpl copy​(java.lang.Object payload,
                                   long sequenceNr,
                                   java.lang.String persistenceId,
                                   java.lang.String manifest,
                                   boolean deleted,
                                   ActorRef sender,
                                   java.lang.String writerUuid,
                                   long timestamp)
      • copy$default$1

        public java.lang.Object copy$default$1()
      • copy$default$2

        public long copy$default$2()
      • copy$default$3

        public java.lang.String copy$default$3()
      • copy$default$4

        public java.lang.String copy$default$4()
      • copy$default$5

        public boolean copy$default$5()
      • copy$default$6

        public ActorRef copy$default$6()
      • copy$default$7

        public java.lang.String copy$default$7()
      • copy$default$8

        public long copy$default$8()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)