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.Serializable
Typically used together withFuture
to signal completion but there is no actual value completed. More clearly signals intent thanUnit
and is available both from Scala and Java (whichUnit
is 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 boolean
canEqual(java.lang.Object x$1)
static Done
done()
Java API: the singleton instanceabstract static boolean
equals(java.lang.Object that)
static Done
getInstance()
Java API: the singleton instancestatic int
hashCode()
static int
productArity()
static java.lang.Object
productElement(int x$1)
static java.lang.String
productElementName(int n)
static scala.collection.Iterator<java.lang.String>
productElementNames()
static scala.collection.Iterator<java.lang.Object>
productIterator()
static java.lang.String
productPrefix()
static java.lang.String
toString()
-
-
-
Method Detail
-
getInstance
public static Done getInstance()
Java API: the singleton instance
-
done
public static Done done()
Java API: the singleton instanceThis 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)
-
productElementName
public static java.lang.String productElementName(int n)
-
productElementNames
public static scala.collection.Iterator<java.lang.String> productElementNames()
-
-