public interface Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onCompleted(java.lang.String threadName)
notify user to know that it completed.
|
void |
onError(java.lang.String threadName,
java.lang.Throwable t)
This method will be invoked when thread has been occurs an error.
|
void |
onStart(java.lang.String threadName)
notify user that task start running
|
void onError(java.lang.String threadName,
java.lang.Throwable t)
threadName - The running thread namet - The exceptionvoid onCompleted(java.lang.String threadName)
threadName - The running thread namevoid onStart(java.lang.String threadName)
threadName - The running thread name