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 Details

    • FailedSubscription

      public FailedSubscription(org.reactivestreams.Subscriber<T> subscriber, Throwable cause)
  • Method Details

    • subscriber

      public org.reactivestreams.Subscriber<T> subscriber()
    • cause

      public Throwable cause()
    • request

      public void request(long elements)
      Specified by:
      request in interface org.reactivestreams.Subscription
    • cancel

      public void cancel()
      Specified by:
      cancel in interface org.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

      public <T> Throwable copy$default$2()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object