Class SnapshotProtocol.DeleteSnapshots

java.lang.Object
org.apache.pekko.persistence.SnapshotProtocol.DeleteSnapshots
All Implemented Interfaces:
Serializable, NoSerializationVerificationNeeded, Protocol.Message, SnapshotProtocol.Message, SnapshotProtocol.Request, scala.Equals, scala.Product
Enclosing class:
SnapshotProtocol

public static final class SnapshotProtocol.DeleteSnapshots extends Object implements SnapshotProtocol.Request, scala.Product, Serializable
Instructs snapshot store to delete all snapshots that match criteria.

param: persistenceId persistent actor id. param: criteria criteria for selecting snapshots to be deleted.

See Also:
  • Constructor Details

  • Method Details

    • persistenceId

      public String persistenceId()
    • criteria

      public SnapshotSelectionCriteria criteria()
    • copy

      public SnapshotProtocol.DeleteSnapshots copy(String persistenceId, SnapshotSelectionCriteria criteria)
    • copy$default$1

      public String copy$default$1()
    • copy$default$2

      public SnapshotSelectionCriteria copy$default$2()
    • productPrefix

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

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

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

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

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

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object