datto
.
flow
FlowBuilder
Related Docs:
object FlowBuilder
|
package flow
case class
FlowBuilder
[
I
,
T
,
Ctx
]
(
flow:
Flow
[
FlowResult
[
I
,
Ctx
],
FlowResult
[
T
,
Ctx
],
NotUsed
]
,
defaultParallelism:
Int
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
FlowBuilder
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
FlowBuilder
(
flow:
Flow
[
FlowResult
[
I
,
Ctx
],
FlowResult
[
T
,
Ctx
],
NotUsed
]
,
defaultParallelism:
Int
)
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
addMetadata
(
f: (
T
) ⇒
MetadataEntry
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
addMetadata
(
entries:
Seq
[
MetadataEntry
]
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
addMetadata
(
entry:
MetadataEntry
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
defaultParallelism
:
Int
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filter
(
predicate: (
FlowResult
[
T
,
Ctx
]) ⇒
Boolean
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
filterValue
(
predicate: (
T
) ⇒
Boolean
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
U
]
(
f: (
T
) ⇒
Try
[
U
]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
flatMapAsyncGrouped
[
U
]
(
n:
Int
)
(
f: (
Seq
[(
T
,
Ctx
,
Metadata
)]) ⇒
Future
[
Seq
[
Try
[
U
]]]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
Annotations
@SuppressWarnings
()
def
flatMapConcat
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Generator
[
FlowResult
[
U
,
Ctx
],
Unit
]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
Annotations
@SuppressWarnings
()
def
flatMapGrouped
[
U
]
(
n:
Int
)
(
f: (
Seq
[(
T
,
Ctx
,
Metadata
)]) ⇒
Seq
[
Try
[
U
]]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
Annotations
@SuppressWarnings
()
def
flatMapWithContext
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Try
[
U
]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
val
flow
:
Flow
[
FlowResult
[
I
,
Ctx
],
FlowResult
[
T
,
Ctx
],
NotUsed
]
def
from
[
Mat
]
(
source:
Source
[
FlowResult
[
I
,
Ctx
],
Mat
]
)
:
Source
[
FlowResult
[
T
,
Ctx
],
Mat
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
logResult
(
log:
LoggingAdapter
,
prefix:
String
=
""
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
map
[
U
]
(
f: (
T
) ⇒
U
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapAsync
[
U
]
(
f: (
T
) ⇒
Future
[
U
]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapAsyncOrdered
[
U
]
(
f: (
T
) ⇒
Future
[
U
]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapConcat
[
U
]
(
f: (
T
) ⇒
Iterable
[
U
]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapConcatAsyncWithContext
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Future
[
Iterable
[
U
]]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapResult
[
U
]
(
f: (
FlowResult
[
T
,
Ctx
]) ⇒
FlowResult
[
U
,
Ctx
]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapResultAsync
[
U
]
(
f: (
FlowResult
[
T
,
Ctx
]) ⇒
Future
[
FlowResult
[
U
,
Ctx
]]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapResultAsyncGrouped
[
U
]
(
n:
Int
)
(
f: (
Seq
[
FlowResult
[
T
,
Ctx
]]) ⇒
Future
[
Seq
[
FlowResult
[
U
,
Ctx
]]]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapResultGrouped
[
U
]
(
n:
Int
)
(
f: (
Seq
[
FlowResult
[
T
,
Ctx
]]) ⇒
Seq
[
FlowResult
[
U
,
Ctx
]]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapWithContext
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
U
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapWithContextAsync
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Future
[
U
]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
mapWithContextAsyncOrdered
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Future
[
U
]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
recover
[
U >:
T
]
(
p:
PartialFunction
[
Throwable
,
U
]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
recoverAsync
[
U >:
T
]
(
p:
PartialFunction
[
Throwable
,
Future
[
U
]]
)
(
implicit
ec:
ExecutionContext
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
def
recoverWith
[
U >:
T
]
(
p:
PartialFunction
[
Throwable
,
Try
[
U
]]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
throttle
(
elements:
Int
,
per:
FiniteDuration
,
maximumBurst:
Int
,
costCalculation: (
T
) ⇒
Int
,
mode:
ThrottleMode
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
throttle
(
elements:
Int
,
per:
FiniteDuration
,
maximumBurst:
Int
,
costCalculation: (
T
) ⇒
Int
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
throttle
(
elements:
Int
,
per:
FiniteDuration
,
maximumBurst:
Int
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
throttle
(
elements:
Int
,
per:
FiniteDuration
=
1.second
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
def
via
[
U
]
(
other:
Flow
[
FlowResult
[
T
,
Ctx
],
FlowResult
[
U
,
Ctx
],
NotUsed
]
)
:
FlowBuilder
[
I
,
U
,
Ctx
]
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
(
...
)
def
withParallelism
(
parallelism:
Int
)
:
FlowBuilder
[
I
,
T
,
Ctx
]
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped