IOResult

org.apache.pekko.stream.IOResult
See theIOResult companion object
final case class IOResult(count: Long, status: Try[Done])

Holds a result of an IO operation.

Value parameters

count

Numeric value depending on context, for example IO operations performed or bytes processed.

status

Status of the result. Can be either pekko.Done or an exception.

Attributes

Companion
object
Source
IOResult.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getCount: Long

Java API: Numeric value depending on context, for example IO operations performed or bytes processed.

Java API: Numeric value depending on context, for example IO operations performed or bytes processed.

Attributes

Source
IOResult.scala
def withCount(value: Long): IOResult

Attributes

Source
IOResult.scala

Deprecated methods

Java API: If the IO operation resulted in an error, returns the corresponding Throwable or throws UnsupportedOperationException otherwise.

Java API: If the IO operation resulted in an error, returns the corresponding Throwable or throws UnsupportedOperationException otherwise.

Attributes

Deprecated
true
Source
IOResult.scala

Java API: Indicates whether IO operation completed successfully or not.

Java API: Indicates whether IO operation completed successfully or not.

Attributes

Deprecated
true
Source
IOResult.scala
def withStatus(value: Try[Done]): IOResult

Attributes

Deprecated
true
Source
IOResult.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product