KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > BlockingQueue

java.util.concurrent
Interface BlockingQueue<E>

All Superinterfaces:
Collection<E>, Iterable<E>, Queue<E>
All Known Implementing Classes:
ArrayBlockingQueue, DelayQueue, LinkedBlockingQueue, PriorityBlockingQueue, SynchronousQueue

boolean add(E o)
See Also:
IllegalStateException, NullPointerException, Collection
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int drainTo(Collection<? super E> c)
See Also:
IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int drainTo(Collection<? super E> c,
            int maxElements)
See Also:
IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean offer(E o)
See Also:
NullPointerException, Queue, Collection.add(E)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean offer(E o,
              long timeout,
              TimeUnit unit)
              throws InterruptedException
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


E poll(long timeout,
       TimeUnit unit)
       throws InterruptedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void put(E o)
         throws InterruptedException
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int remainingCapacity()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


E take()
       throws InterruptedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags