class FileBufferedFlow extends GraphStage[FlowShape[ByteString, ByteString]]
Creates flow with non blocking pulling from upstream regardless of downstream demand. Pulled data are stored in buffer of
bufferSize
. If buffer is full and there is no downstream demand data are stored in file. If file size exceeds
maxFileSize
InsufficientStorageException
is thrown.
InsufficientStorageException }}}
maxFileSize }}}
bufferSize }}} data are stored in file. If file size exceeds
maxFileSize
InsufficientStorageException
is thrown.
InsufficientStorageException }}}
maxFileSize }}}
- Source
- BufferStreams.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileBufferedFlow
- GraphStage
- GraphStageWithMaterializedValue
- Graph
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
Shape = FlowShape[ByteString, 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[FlowShape[ByteString, ByteString], NotUsed]
- Definition Classes
- Graph
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
async(dispatcher: String, inputBufferSize: Int): Graph[FlowShape[ByteString, ByteString], NotUsed]
- Definition Classes
- Graph
-
def
async(dispatcher: String): Graph[FlowShape[ByteString, ByteString], NotUsed]
- Definition Classes
- Graph
-
def
async: Graph[FlowShape[ByteString, ByteString], NotUsed]
- Definition Classes
- Graph
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
createLogic(attrs: Attributes): GraphStageLogic
- Definition Classes
- FileBufferedFlow → GraphStage
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
- Definition Classes
- GraphStage → 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] )
-
def
getAttributes: Attributes
- Definition Classes
- Graph
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initialAttributes: Attributes
- Attributes
- protected
- Definition Classes
- GraphStageWithMaterializedValue
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
named(name: String): Graph[FlowShape[ByteString, ByteString], NotUsed]
- 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: FlowShape[ByteString, ByteString]
- Definition Classes
- FileBufferedFlow → 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[FlowShape[ByteString, ByteString], NotUsed]
- Definition Classes
- GraphStageWithMaterializedValue → Graph