Package 

Interface QueueStatusListener


  • 
    public interface QueueStatusListener
    
                        

    Listener allows to check state of tasks in Queue.

    All methods will be called in the background thread. This interface is internal and intended for debug purposes. Avoid blocking operations in the current thread

    • Method Summary

      Modifier and Type Method Description
      abstract void onTaskAdded(@NonNull() Task<out Object> task) Called when new task is added to the queue or failed task is added back to the queue for retry
      abstract void onTaskStarted(@NonNull() Task<out Object> task) Called when task started execution on the queue executor
      abstract void onTaskFinished(@NonNull() Task<out Object> task, @NonNull() QueueResult result) Called when task completed execution - successfully or not (moving back to pending state)
      abstract void onTaskDropped(@NonNull() Task<out Object> task) Called when task is removed from queue because of reaching pendingTasksLimit in the queue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait