public interface SdkTaskScheduler
| Modifier and Type | Method and Description |
|---|---|
void |
open()
Opens the SDK task scheduler and starts all the scheduled tasks
|
void |
scheduleAtFixedRate(String name,
Runnable command,
long initialDelay,
long period,
TimeUnit unit)
Schedules a repeating task.
|
void |
shutdownNow()
Shuts down all the scheduled tasks
|
void |
startOneTimeTask(String name,
Runnable command)
Creates and executes a one-shot action
|
void open()
void shutdownNow()
void scheduleAtFixedRate(String name, Runnable command, long initialDelay, long period, TimeUnit unit)
open()name - the associated task namecommand - see ScheduledExecutorService.scheduleAtFixedRate(Runnable, long, long, TimeUnit)initialDelay - see ScheduledExecutorService.scheduleAtFixedRate(Runnable, long, long, TimeUnit)period - see ScheduledExecutorService.scheduleAtFixedRate(Runnable, long, long, TimeUnit)unit - see ScheduledExecutorService.scheduleAtFixedRate(Runnable, long, long, TimeUnit)Copyright © 2016–2025. All rights reserved.