Package akka.stream

Class IOResult$

  • All Implemented Interfaces:
    java.io.Serializable, scala.Serializable

    public class IOResult$
    extends java.lang.Object
    implements scala.Serializable
    JAVA API: Creates successful IOResult
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IOResult$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      IOResult$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IOResult apply​(long count, scala.util.Try<Done> status)  
      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)  
      scala.Option<scala.Tuple2<java.lang.Object,​scala.util.Try<Done>>> unapply​(IOResult x$0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

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

      • IOResult$

        public IOResult$()
    • Method Detail

      • createSuccessful

        public IOResult createSuccessful​(long count)
      • 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
      • apply

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

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