Package akka.stream
Class QueueOfferResult.Failure
- java.lang.Object
 - 
- akka.stream.QueueOfferResult
 - 
- akka.stream.QueueCompletionResult
 - 
- akka.stream.QueueOfferResult.Failure
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,scala.Equals,scala.Product
- Enclosing class:
 - QueueOfferResult
 
public static final class QueueOfferResult.Failure extends QueueCompletionResult implements scala.Product, java.io.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:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class akka.stream.QueueOfferResult
QueueOfferResult.Dropped$, QueueOfferResult.Enqueued$, QueueOfferResult.Failure, QueueOfferResult.Failure$, QueueOfferResult.QueueClosed$ 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Failure(java.lang.Throwable cause) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanEqual(java.lang.Object x$1)java.lang.Throwablecause()QueueOfferResult.Failurecopy(java.lang.Throwable cause)java.lang.Throwablecopy$default$1()booleanequals(java.lang.Object x$1)inthashCode()booleanisEnqueued()Return ture if the element was already enqueued, otherwise false.intproductArity()java.lang.ObjectproductElement(int x$1)java.lang.StringproductElementName(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()java.lang.StringtoString()- 
Methods inherited from class akka.stream.QueueOfferResult
dropped, enqueued 
 - 
 
 - 
 
- 
- 
Method Detail
- 
cause
public java.lang.Throwable cause()
 
- 
isEnqueued
public boolean isEnqueued()
Description copied from class:QueueOfferResultReturn ture if the element was already enqueued, otherwise false.- Specified by:
 isEnqueuedin classQueueOfferResult
 
- 
copy
public QueueOfferResult.Failure copy(java.lang.Throwable cause)
 
- 
copy$default$1
public java.lang.Throwable copy$default$1()
 
- 
productPrefix
public java.lang.String productPrefix()
- Specified by:
 productPrefixin interfacescala.Product
 
- 
productArity
public int productArity()
- Specified by:
 productArityin interfacescala.Product
 
- 
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
 productElementin interfacescala.Product
 
- 
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
 productIteratorin interfacescala.Product
 
- 
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
 canEqualin interfacescala.Equals
 
- 
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
 productElementNamein interfacescala.Product
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
 equalsin interfacescala.Equals- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -