Package akka.stream

Class SinkShape<T>

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public final class SinkShape<T>
    extends Shape
    implements scala.Product, scala.Serializable
    A Sink Shape has exactly one input and no outputs, it models a data sink.
    See Also:
    Serialized Form
    • Constructor Detail

      • SinkShape

        public SinkShape​(Inlet<T> in)
    • Method Detail

      • unapply

        public static <T> scala.Option<Inlet<T>> unapply​(SinkShape<T> x$0)
      • inlets

        public scala.collection.immutable.Seq<Inlet<?>> inlets()
        Specified by:
        inlets in class Shape
      • outlets

        public scala.collection.immutable.Seq<Outlet<?>> outlets()
        Description copied from class: Shape
        Scala API: get a list of all output ports
        Specified by:
        outlets in class Shape
        Returns:
        (undocumented)
      • deepCopy

        public SinkShape<T> deepCopy()
        Description copied from class: Shape
        Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.
        Specified by:
        deepCopy in class Shape
        Returns:
        (undocumented)
      • copy$default$1

        public <T> Inlet<T> copy$default$1()
      • productPrefix

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

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

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

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

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

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

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

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