Package org.apache.pekko.stream
Class QueueOfferResult.Failure
java.lang.Object
org.apache.pekko.stream.QueueOfferResult
org.apache.pekko.stream.QueueCompletionResult
org.apache.pekko.stream.QueueOfferResult.Failure
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- Enclosing class:
- QueueOfferResult
public static final class QueueOfferResult.Failure
extends QueueCompletionResult
implements scala.Product, Serializable
Type is used to indicate that stream is failed before or during call to the stream
param: cause - exception that stream failed with
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.stream.QueueOfferResult
QueueOfferResult.Dropped$, QueueOfferResult.Enqueued$, QueueOfferResult.Failure, QueueOfferResult.Failure$, QueueOfferResult.QueueClosed$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancause()booleaninthashCode()booleanReturn true if the element was already enqueued, otherwise false.intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class org.apache.pekko.stream.QueueOfferResult
closed, dropped, enqueuedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Failure
-
-
Method Details
-
cause
-
isEnqueued
public boolean isEnqueued()Description copied from class:QueueOfferResultReturn true if the element was already enqueued, otherwise false.- Specified by:
isEnqueuedin classQueueOfferResult
-
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
-