Package org.apache.pekko.stream
Class SinkShape<T>
java.lang.Object
org.apache.pekko.stream.Shape
org.apache.pekko.stream.SinkShape<T>
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
A Sink
Shape has exactly one input and no outputs, it models a data sink.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SinkShape<T>boolean<T> SinkShape<T><T> Inlet<T>deepCopy()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.booleaninthashCode()in()scala.collection.immutable.Seq<Inlet<?>>inlets()Scala API: get a list of all input portsstatic <T> SinkShape<T>Java APIscala.collection.immutable.Seq<Outlet<?>>outlets()Scala API: get a list of all output portsintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()static <T> scala.Option<Inlet<T>>Methods inherited from class org.apache.pekko.stream.Shape
getInlets, getOutlets, hasOnePort, hasSamePortsAndShapeAs, hasSamePortsAs, requireSamePortsAndShapeAs, requireSamePortsAsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
SinkShape
-
-
Method Details
-
of
Java API -
apply
-
unapply
-
in
-
inlets
Description copied from class:ShapeScala API: get a list of all input ports -
outlets
Description copied from class:ShapeScala API: get a list of all output ports -
deepCopy
Description copied from class:ShapeCreate a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system. -
copy
-
copy$default$1
-
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
-