Class SnapshotMetadata$

java.lang.Object
org.apache.pekko.persistence.typed.SnapshotMetadata$

public class SnapshotMetadata$ extends Object
  • Field Details

    • MODULE$

      public static final SnapshotMetadata$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • SnapshotMetadata$

      public SnapshotMetadata$()
  • Method Details

    • apply

      public SnapshotMetadata apply(String persistenceId, long sequenceNr, long timestamp)
      Parameters:
      persistenceId - id of persistent actor from which the snapshot was taken.
      sequenceNr - sequence number at which the snapshot was taken.
      timestamp - time at which the snapshot was saved, defaults to 0 when unknown. in milliseconds from the epoch of 1970-01-01T00:00:00Z.