796 |
|
} |
797 |
|
|
798 |
|
/** |
799 |
< |
* Returns the task queue used by this executor. |
800 |
< |
* Each element of this queue is a {@link ScheduledFuture}. |
799 |
> |
* Returns the task queue used by this executor. Access to the |
800 |
> |
* task queue is intended primarily for debugging and monitoring. |
801 |
> |
* This queue may be in active use. Retrieving the task queue |
802 |
> |
* does not prevent queued tasks from executing. |
803 |
> |
* |
804 |
> |
* <p>Each element of this queue is a {@link ScheduledFuture}. |
805 |
|
* For tasks submitted via one of the {@code schedule} methods, the |
806 |
|
* element will be identical to the returned {@code ScheduledFuture}. |
807 |
|
* For tasks submitted using {@link #execute execute}, the element |