Package | Description |
---|---|
org.ballerinalang.stdlib.task.api | |
org.ballerinalang.stdlib.task.impl | |
org.ballerinalang.stdlib.task.objects | |
org.ballerinalang.stdlib.task.utils |
Modifier and Type | Method and Description |
---|---|
void |
TaskServerConnector.start()
Start the server connector, which actually start the task.
|
void |
TaskServerConnector.stop()
Stop the server connector which actually stops the task.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskServerConnectorImpl.start()
Start the server connector, which actually start the task.
|
void |
TaskServerConnectorImpl.stop()
Stop the server connector which actually stops the task.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTask.pause()
Pause the task.
|
void |
Task.pause()
Pause the task.
|
void |
AbstractTask.resume()
Resumes the task.
|
void |
Task.resume()
Resumes the task.
|
void |
Appointment.start(Context context)
Run all the services attached to the task.
|
void |
Timer.start(Context context)
Run all the services attached to the task.
|
void |
Task.start(Context context)
Run all the services attached to the task.
|
void |
AbstractTask.stop()
Stop the task.
|
void |
Task.stop()
Stop the task.
|
Constructor and Description |
---|
Appointment(String cronExpression)
Creates an Appointment object with provided cron expression.
|
Appointment(String cronExpression,
long maxRuns)
Creates an Appointment object with provided cron expression,
which will stop after running provided number of times.
|
Timer(long delay,
long interval)
Creates a Timer object.
|
Timer(long delay,
long interval,
long maxRuns)
Creates a Timer object with limited number of running times.
|
Modifier and Type | Method and Description |
---|---|
static String |
Utils.getCronExpressionFromAppointmentRecord(BValue record) |
Copyright © 2019 WSO2. All rights reserved.