Package org.apache.pekko.stream.testkit
Class StreamTestKit.PublisherProbeSubscription<I>
java.lang.Object
org.apache.pekko.stream.testkit.StreamTestKit.PublisherProbeSubscription<I>
- All Implemented Interfaces:
Serializable,SubscriptionWithCancelException,org.reactivestreams.Subscription,scala.Equals,scala.Product
- Enclosing class:
- StreamTestKit
public static final class StreamTestKit.PublisherProbeSubscription<I>
extends Object
implements org.reactivestreams.Subscription, SubscriptionWithCancelException, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.stream.SubscriptionWithCancelException
SubscriptionWithCancelException.NoMoreElementsNeeded$, SubscriptionWithCancelException.NonFailureCancellation, SubscriptionWithCancelException.StageWasCompleted$ -
Constructor Summary
ConstructorsConstructorDescriptionPublisherProbeSubscription(org.reactivestreams.Subscriber<? super I> subscriber, TestProbe publisherProbe) -
Method Summary
Modifier and TypeMethodDescriptionvoidboolean<I> org.reactivestreams.Subscriber<? super I><I> TestProbebooleanlongvoidexpectRequest(long n) inthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>voidrequest(long elements) voidvoidvoidvoidorg.reactivestreams.Subscriber<? super I>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNamesMethods inherited from interface org.apache.pekko.stream.SubscriptionWithCancelException
cancel
-
Constructor Details
-
PublisherProbeSubscription
-
-
Method Details
-
subscriber
-
publisherProbe
-
request
public void request(long elements) - Specified by:
requestin interfaceorg.reactivestreams.Subscription
-
cancel
- Specified by:
cancelin interfaceSubscriptionWithCancelException
-
expectRequest
public void expectRequest(long n) -
expectRequest
public long expectRequest() -
expectCancellation
-
sendNext
-
sendComplete
public void sendComplete() -
sendError
-
sendOnSubscribe
public void sendOnSubscribe() -
copy
public <I> StreamTestKit.PublisherProbeSubscription<I> copy(org.reactivestreams.Subscriber<? super I> subscriber, TestProbe publisherProbe) -
copy$default$1
public <I> org.reactivestreams.Subscriber<? super I> 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
-