Class ThrowOverflowExceptionStrategy$

java.lang.Object
org.apache.pekko.persistence.ThrowOverflowExceptionStrategy$
All Implemented Interfaces:
Serializable, StashOverflowStrategy, scala.Equals, scala.Product

public class ThrowOverflowExceptionStrategy$ extends Object implements StashOverflowStrategy, scala.Product, Serializable
Throw pekko.actor.StashOverflowException, hence the persistent actor will starting recovery if guarded by default supervisor strategy. Be carefully if used together with persist/persistAll or has many messages needed to replay.
See Also:
  • Field Details

  • Constructor Details

    • ThrowOverflowExceptionStrategy$

      public ThrowOverflowExceptionStrategy$()
  • Method Details

    • getInstance

      public ThrowOverflowExceptionStrategy$ getInstance()
      Java API: get the singleton instance
    • 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
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object