Package org.apache.pekko.stream
Class IOResult$
- java.lang.Object
-
- org.apache.pekko.stream.IOResult$
-
- All Implemented Interfaces:
java.io.Serializable
public class IOResult$ extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IOResult$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOResultapply(long count)IOResultapply(long count, scala.util.Try<Done> status)IOResultcreateFailed(long count, java.lang.Throwable ex)JAVA API: Creates failed IOResult, `count` should be the number of bytes (or other unit, please document in your APIs) processed before failingIOResultcreateSuccessful(long count)JAVA API: Creates successful IOResultscala.Option<scala.Tuple2<java.lang.Object,scala.util.Try<Done>>>unapply(IOResult x$0)
-
-
-
Field Detail
-
MODULE$
public static final IOResult$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public IOResult apply(long count)
-
createSuccessful
public IOResult createSuccessful(long count)
JAVA API: Creates successful IOResult
-
createFailed
public IOResult createFailed(long count, java.lang.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
-
-