Class NContinuation
java.lang.Object
com.zenith.feature.tasks.NContinuation
- All Implemented Interfaces:
Continuation, Closeable, AutoCloseable
A
Continuation that allows a task to continue executing a specified number of times.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface Continuation
close
-
Constructor Details
-
NContinuation
public NContinuation(int n) -
NContinuation
public NContinuation(int n, int count)
-
-
Method Details
-
shouldContinue
public boolean shouldContinue(boolean taskExecuted) - Specified by:
shouldContinuein interfaceContinuation
-
getN
public int getN() -
getCount
public int getCount() -
setCount
public void setCount(int count) -
equals
-
canEqual
-
hashCode
-
toString
-