Package org.apache.pekko
Class Done
java.lang.Object
org.apache.pekko.Done
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Done$
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic Donedone()Java API: the singleton instanceabstract static booleanstatic DoneJava API: the singleton instancestatic inthashCode()static intstatic ObjectproductElement(int x$1) static StringproductElementName(int n) static scala.collection.Iterator<String>static scala.collection.Iterator<Object>static Stringstatic StringtoString()
-
Constructor Details
-
Done
public Done()
-
-
Method Details
-
getInstance
Java API: the singleton instance -
done
Java API: the singleton instanceThis is equivalent to
Done.getInstance, but can be used with static import. -
productPrefix
-
productArity
public static int productArity() -
productElement
-
productIterator
-
canEqual
-
hashCode
public static int hashCode() -
toString
-
equals
-
productElementName
-
productElementNames
-