class ChunkerSink extends GraphStageWithMaterializedValue[SinkShape[ByteString], Future[SourceValue]]
Sink materializes to
CompleteSourceValue
if one and only one element passes from upstream before it is finished. Otherwise produces
IncompleteSourceValue
. Running of
IncompleteSourceValue
source will consume this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
CompleteSourceValue }}} Otherwise produces
IncompleteSourceValue
. Running of
IncompleteSourceValue
source will consume this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
IncompleteSourceValue }}} this
ChunkerSink
upstream.
ChunkerSink }}}
- Source
- Chunker.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ChunkerSink
- GraphStageWithMaterializedValue
- Graph
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ChunkerSink()(implicit ec: ExecutionContext)
Type Members
-
type
Shape = SinkShape[ByteString]
- Definition Classes
- Graph
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAttributes(attr: Attributes): Graph[SinkShape[ByteString], Future[SourceValue]]
- Definition Classes
- Graph
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
async(dispatcher: String, inputBufferSize: Int): Graph[SinkShape[ByteString], Future[SourceValue]]
- Definition Classes
- Graph
-
def
async(dispatcher: String): Graph[SinkShape[ByteString], Future[SourceValue]]
- Definition Classes
- Graph
-
def
async: Graph[SinkShape[ByteString], Future[SourceValue]]
- Definition Classes
- Graph
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createLogicAndMaterializedValue(attrs: Attributes): (GraphStageLogic { ... /* 3 definitions in type refinement */ }, Future[SourceValue])
- Definition Classes
- ChunkerSink → GraphStageWithMaterializedValue
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val in: Inlet[ByteString]
-
def
initialAttributes: Attributes
- Attributes
- protected
- Definition Classes
- GraphStageWithMaterializedValue
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
named(name: String): Graph[SinkShape[ByteString], Future[SourceValue]]
- Definition Classes
- Graph
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
shape: SinkShape[ByteString]
- Definition Classes
- ChunkerSink → Graph
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
withAttributes(attr: Attributes): Graph[SinkShape[ByteString], Future[SourceValue]]
- Definition Classes
- GraphStageWithMaterializedValue → Graph