datto
.
flow
FlowResult
Related Docs:
object FlowResult
|
package flow
case class
FlowResult
[
+T
,
Ctx
]
(
value:
Try
[
T
]
,
context:
Ctx
,
metadata:
Metadata
=
Metadata()
,
timings:
TimingList
=
TimingList()
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
FlowResult
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
FlowResult
(
value:
Try
[
T
]
,
context:
Ctx
,
metadata:
Metadata
=
Metadata()
,
timings:
TimingList
=
TimingList()
)
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
)
:
FlowResult
[
T
,
Ctx
]
def
addMetadata
(
entries:
Seq
[
MetadataEntry
]
)
:
FlowResult
[
T
,
Ctx
]
def
addMetadata
(
entry:
MetadataEntry
)
:
FlowResult
[
T
,
Ctx
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
context
:
Ctx
val
creationTime
:
Long
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filter
[
U
]
(
f: (
T
) ⇒
Boolean
)
:
FlowResult
[
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
]
)
:
FlowResult
[
U
,
Ctx
]
def
flatMapAsync
[
U
]
(
f: (
T
) ⇒
Future
[
Try
[
U
]]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
FlowResult
[
U
,
Ctx
]]
def
flatMapWithContext
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Try
[
U
]
)
:
FlowResult
[
U
,
Ctx
]
def
flatMapWithContextAsync
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Future
[
Try
[
U
]]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
FlowResult
[
U
,
Ctx
]]
def
flatten
[
U
]
(
implicit
ev:
<:<
[
T
,
Try
[
U
]]
)
:
FlowResult
[
U
,
Ctx
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getOrElse
[
U >:
T
]
(
default: ⇒
U
)
:
U
def
isFailure
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isSuccess
:
Boolean
def
map
[
U
]
(
f: (
T
) ⇒
U
)
:
FlowResult
[
U
,
Ctx
]
def
mapAsync
[
U
]
(
f: (
T
) ⇒
Future
[
U
]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
FlowResult
[
U
,
Ctx
]]
def
mapConcat
[
U
]
(
f: (
T
) ⇒
Iterable
[
U
]
)
:
Iterable
[
FlowResult
[
U
,
Ctx
]]
def
mapResultAsync
[
U
]
(
f: (
FlowResult
[
T
,
Ctx
]) ⇒
Future
[
FlowResult
[
U
,
Ctx
]]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
FlowResult
[
U
,
Ctx
]]
def
mapWithContext
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
U
)
:
FlowResult
[
U
,
Ctx
]
def
mapWithContextAsync
[
U
]
(
f: (
T
,
Ctx
,
Metadata
) ⇒
Future
[
U
]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
FlowResult
[
U
,
Ctx
]]
val
metadata
:
Metadata
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
orElse
[
U >:
T
]
(
default: ⇒
Try
[
U
]
)
:
FlowResult
[
U
,
Ctx
]
def
recover
[
U >:
T
]
(
f:
PartialFunction
[
Throwable
,
U
]
)
:
FlowResult
[
U
,
Ctx
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
timings
:
TimingList
def
toOption
:
Option
[
T
]
def
transform
[
U
]
(
s: (
T
) ⇒
Try
[
U
]
,
f: (
Throwable
) ⇒
Try
[
U
]
)
:
FlowResult
[
U
,
Ctx
]
val
value
:
Try
[
T
]
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped