public final class WorkListenerImpl extends Object implements WorkListener
| Constructor and Description |
|---|
WorkListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFinish(String workName,
long elapsedTime,
boolean success)
Enregistre la fin d'exécution d'une tache avec le temps d'exécution en ms et son statut (OK/KO).
|
void |
onStart(String workName)
Enregistre le début d'exécution d'une tache.
|
public void onStart(String workName)
onStart in interface WorkListenerworkName - Nom de la tachepublic void onFinish(String workName, long elapsedTime, boolean success)
onFinish in interface WorkListenerworkName - Nom de la tache exécutéeelapsedTime - Temps d'exécution en mssuccess - Si la tache a été correctement executéeCopyright © 2019. All Rights Reserved.