lucee.Componentcoldbox.system.async.tasks.FutureTask
coldbox.system.async.tasks.ScheduledFuture
This is a ColdBox Scheduled Future object modeled and backed by Java's ScheduledFuture & Future interface but with Dynamic Goodness!
Constructor Summary | |
---|---|
init([any native])
Build the ColdBox ScheduledFuture with the Java native class. |
Method Summary | |
---|---|
numeric
|
getDelay([any timeUnit='milliseconds'])
Get the delay of the scheduled task in the given time unit. |
boolean
|
isPeriodic()
Returns true if the scheduled task is periodic or not. |
Methods inherited from class coldbox.system.async.tasks.FutureTask |
---|
cancel, get, getNative, isCancelled, isDone, setNative |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Build the ColdBox ScheduledFuture with the Java native class
native
- The native ScheduledFuture class we are wrappingMethod Detail |
---|
Get the delay of the scheduled task in the given time unit
timeUnit
- The time unit to use, available units are: days, hours, microseconds, milliseconds, minutes, nanoseconds, and seconds. The default is millisecondsReturns true if the scheduled task is periodic or not