public interface AsyncTask extends Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay()
Returns the time to wait until executing this task
|
TimeUnit |
getDelayTimeUnit()
Returns the time unit of the delay time
|
String |
getId()
return the task id
|
long |
getRegisteringTimestamp() |
boolean |
isScheduled()
Returns true if the task was already scheduled.
|
void |
setRegistered(long timestamp)
Sets the task as registered
|
void |
setScheduled()
Sets the task as scheduled
|
void |
setUnscheduled()
Sets the task as not scheduled
|
int getDelay()
TimeUnit getDelayTimeUnit()
void setRegistered(long timestamp)
timestamp - the timestamp of the moment when the task was registeredlong getRegisteringTimestamp()
boolean isScheduled()
void setScheduled()
void setUnscheduled()
String getId()
Copyright © 2024 MuleSoft, Inc.. All rights reserved.