public final class TaskScheduler extends Object
| Constructor and Description |
|---|
TaskScheduler(Runnable task,
long period,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Checa se o processo de execuções sucessivas da tarefa está em execução.
|
boolean |
start()
Inicia as execuções periódicas da tarefa.
|
boolean |
stop()
Interrompe as execuções periódicas da tarefa.
|
public final boolean isRunning()
public final boolean start()
public final boolean stop()
Copyright © 2017. All rights reserved.