Package org.apache.pekko.stream
Class Supervision.Restart$
java.lang.Object
org.apache.pekko.stream.Supervision.Restart$
- All Implemented Interfaces:
Serializable,Supervision.Directive,scala.Equals,scala.Product
- Enclosing class:
- Supervision
public static class Supervision.Restart$
extends Object
implements Supervision.Directive, scala.Product, Serializable
Scala API: The element is dropped and the stream continues after restarting the operator
if application code for processing an element throws an exception.
Restarting an operator means that any accumulated state is cleared. This is typically
performed by creating a new instance of the operator.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Supervision.Restart$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()intproductElement(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
equalsMethods inherited from interface scala.Product
productElementName, productElementNames
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Restart$
public Restart$()
-
-
Method Details
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode() -
toString
-