Package org.apache.pekko
Class Done
- java.lang.Object
-
- org.apache.pekko.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()Java API: the singleton instancestatic inthashCode()static intproductArity()static java.lang.ObjectproductElement(int x$1)static java.lang.StringproductElementName(int n)static scala.collection.Iterator<java.lang.String>productElementNames()static scala.collection.Iterator<java.lang.Object>productIterator()static java.lang.StringproductPrefix()static java.lang.StringtoString()
-
-
-
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()
-
-