Class Reject
java.lang.Object
org.apache.pekko.persistence.testkit.Reject
- All Implemented Interfaces:
Serializable,ProcessingFailure,ProcessingResult,scala.Equals,scala.Product
Emulates rejection of operation by the journal with
error exception.
Has the same meaning as StorageFailure for snapshot storage,
because it does not support rejections.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Throwablestatic Rejectstatic Throwablebooleanstatic Rejectcreate()static Rejectbooleanerror()getError()inthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static scala.Option<Throwable>Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Reject
-
-
Method Details
-
$lessinit$greater$default$1
-
create
-
create
-
apply
-
apply$default$1
-
unapply
-
error
- Specified by:
errorin interfaceProcessingFailure
-
getError
-
copy
-
copy$default$1
-
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
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-