Package org.apache.pekko.stream.testkit
Class StreamTestKit.FailedSubscription<T>
java.lang.Object
org.apache.pekko.stream.testkit.StreamTestKit.FailedSubscription<T>
- All Implemented Interfaces:
Serializable,org.reactivestreams.Subscription,scala.Equals,scala.Product
- Enclosing class:
- StreamTestKit
public static final class StreamTestKit.FailedSubscription<T>
extends Object
implements org.reactivestreams.Subscription, scala.Product, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFailedSubscription(org.reactivestreams.Subscriber<T> subscriber, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()booleancause()<T> org.reactivestreams.Subscriber<T><T> ThrowablebooleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>voidrequest(long elements) org.reactivestreams.Subscriber<T>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
FailedSubscription
-
-
Method Details
-
subscriber
-
cause
-
request
public void request(long elements) - Specified by:
requestin interfaceorg.reactivestreams.Subscription
-
cancel
public void cancel()- Specified by:
cancelin interfaceorg.reactivestreams.Subscription
-
copy
public <T> StreamTestKit.FailedSubscription<T> copy(org.reactivestreams.Subscriber<T> subscriber, Throwable cause) -
copy$default$1
public <T> org.reactivestreams.Subscriber<T> copy$default$1() -
copy$default$2
-
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
-