public class EvictingPriorityBlockingQueue<E> extends Object
Constructor and Description |
---|
EvictingPriorityBlockingQueue(Comparator<E> comparator,
int maxSize) |
public EvictingPriorityBlockingQueue(Comparator<E> comparator, int maxSize)
public boolean isEmpty()
public E peek()
public E take() throws InterruptedException
InterruptedException
public boolean remove(E e)
public int size()
Copyright © 2016 The Apache Software Foundation. All rights reserved.