Package akka
Class Done
- java.lang.Object
-
- akka.Done
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Done$
public abstract class Done extends java.lang.Object implements java.io.SerializableTypically used together withFutureto signal completion but there is no actual value completed. More clearly signals intent thanUnitand is available both from Scala and Java (whichUnitis not).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Done()
-
Method Summary
All Methods Static Methods Abstract Methods Concrete Methods Modifier and Type Method Description static booleancanEqual(java.lang.Object x$1)static Donedone()Java API: the singleton instanceabstract static booleanequals(java.lang.Object that)static DonegetInstance()static inthashCode()static intproductArity()static java.lang.ObjectproductElement(int x$1)static scala.collection.Iterator<java.lang.Object>productIterator()static java.lang.StringproductPrefix()static java.lang.StringtoString()
-
-
-
Method Detail
-
getInstance
public static Done getInstance()
-
done
public static Done done()
Java API: the singleton instanceThis is equivalent to
getInstance(), but can be used with static import.- Returns:
- (undocumented)
-
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)
-
-