Package akka

Class Done

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Done$

    public abstract class Done
    extends java.lang.Object
    implements java.io.Serializable
    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

      Constructors 
      Constructor Description
      Done()  
    • 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 Done.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()
      • equals

        public abstract static boolean equals​(java.lang.Object that)