Class IOResult$

java.lang.Object
org.apache.pekko.stream.IOResult$
All Implemented Interfaces:
Serializable

public class IOResult$ extends Object implements Serializable
See Also:
  • Field Details

    • MODULE$

      public static final IOResult$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • IOResult$

      public IOResult$()
  • Method Details

    • apply

      public IOResult apply(long count)
    • createSuccessful

      public IOResult createSuccessful(long count)
      JAVA API: Creates successful IOResult
    • createFailed

      public IOResult createFailed(long count, Throwable ex)
      JAVA API: Creates failed IOResult, `count` should be the number of bytes (or other unit, please document in your APIs) processed before failing
    • apply

      public IOResult apply(long count, scala.util.Try<Done> status)
    • unapply

      public scala.Option<scala.Tuple2<Object,scala.util.Try<Done>>> unapply(IOResult x$0)