|
|
@ -82,8 +82,7 @@ public class PeerTaskInstancePriorityQueue implements TaskPriorityQueue<TaskInst |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public TaskInstance poll(long timeout, TimeUnit unit) throws TaskPriorityQueueException { |
|
|
|
public TaskInstance poll(long timeout, TimeUnit unit) throws TaskPriorityQueueException { |
|
|
|
throw new TaskPriorityQueueException("This operation is not currently supported," + |
|
|
|
throw new TaskPriorityQueueException("This operation is not currently supported and suggest to use PriorityBlockingQueue if you want!"); |
|
|
|
"and suggest to use PriorityBlockingQueue if you want!"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|