public class IOResult$
extends java.lang.Object
implements scala.Serializable
| Modifier and Type | Field and Description |
|---|---|
static IOResult$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
IOResult$() |
| Modifier and Type | Method and Description |
|---|---|
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
|
IOResult |
createSuccessful(long count)
JAVA API: Creates successful IOResult
|
public static final IOResult$ MODULE$
public IOResult createSuccessful(long count)
public IOResult createFailed(long count, java.lang.Throwable ex)