Interface RetryableQueue<T>

All Superinterfaces:
BlockingQueue<T>, Collection<T>, Iterable<T>, Queue<T>
All Known Implementing Classes:
TaskQueue

public interface RetryableQueue<T> extends BlockingQueue<T>
  • Method Details

    • force

      boolean force(T o)
      Used to add a task to the queue if the task has been rejected by the Executor.
      Parameters:
      o - The task to add to the queue
      Returns:
      true if the task was added to the queue, otherwise false