Package akka

Class Done

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public abstract class Done
    extends java.lang.Object
    Typically used together with Future to signal completion but there is no actual value completed. More clearly signals intent than Unit and is available both from Scala and Java (which Unit is not).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean canEqual​(java.lang.Object x$1)  
      static Done done()
      Java API: the singleton instance
      static Done getInstance()
      Java API: the singleton instance
      static int hashCode()  
      static int productArity()  
      static java.lang.Object productElement​(int x$1)  
      static scala.collection.Iterator<java.lang.Object> productIterator()  
      static java.lang.String productPrefix()  
      static java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Done

        public Done()
    • Method Detail

      • getInstance

        public static Done getInstance()
        Java API: the singleton instance
      • done

        public static Done done()
        Java API: the singleton instance

        This is equivalent to getInstance(), but can be used with static import.

      • productPrefix

        public static java.lang.String productPrefix()
      • productArity

        public static int productArity()
      • productElement

        public static java.lang.Object productElement​(int x$1)
      • productIterator

        public static scala.collection.Iterator<java.lang.Object> productIterator()
      • canEqual

        public static boolean canEqual​(java.lang.Object x$1)
      • hashCode

        public static int hashCode()
      • toString

        public static java.lang.String toString()