Class ThrowOverflowExceptionStrategy

java.lang.Object
org.apache.pekko.persistence.ThrowOverflowExceptionStrategy

public class ThrowOverflowExceptionStrategy extends Object
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.
  • Constructor Details

    • ThrowOverflowExceptionStrategy

      public ThrowOverflowExceptionStrategy()
  • Method Details

    • getInstance

      public static ThrowOverflowExceptionStrategy$ getInstance()
      Java API: get the singleton instance
    • productPrefix

      public static String productPrefix()
    • productArity

      public static int productArity()
    • productElement

      public static Object productElement(int x$1)
    • productIterator

      public static scala.collection.Iterator<Object> productIterator()
    • canEqual

      public static boolean canEqual(Object x$1)
    • hashCode

      public static int hashCode()
    • toString

      public static String toString()
    • equals

      public abstract static boolean equals(Object that)
    • productElementName

      public static String productElementName(int n)
    • productElementNames

      public static scala.collection.Iterator<String> productElementNames()