Package org.apache.pekko.stream
Class IOResult$
java.lang.Object
org.apache.pekko.stream.IOResult$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(long count) 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 failingcreateSuccessful
(long count) JAVA API: Creates successful IOResult
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
IOResult$
public IOResult$()
-
-
Method Details
-
apply
-
createSuccessful
JAVA API: Creates successful IOResult -
createFailed
JAVA API: Creates failed IOResult, `count` should be the number of bytes (or other unit, please document in your APIs) processed before failing -
apply
-
unapply
-