Package art.cutils.value
Class Syndicate.Close<T>
- java.lang.Object
-
- art.cutils.value.Syndicate.Close<T>
-
- Type Parameters:
T
- the type of the values from the tasks
public static final class Syndicate.Close<T> extends Object
Represent the operation used to shutdown the currentExecutorService
running the Syndicate.
-
-
Constructor Summary
Constructors Constructor Description Close(Syndicate.Conductor<T> conductor)
Constructor to create a new instance of Close.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Use to shutdown Thread Manually.boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Close
@Contract(pure=true) public Close(Syndicate.Conductor<T> conductor)
Constructor to create a new instance of Close.- Parameters:
conductor
- existing instance of the Conductor
-
-
Method Detail
-
close
public void close()
Use to shutdown Thread Manually.
-
equals
@Contract(value="null -> false", pure=true) public boolean equals(Object o)
-
-