java > java.util > java.util.concurrent > java.util.concurrent.blockingqueue >

Interface: java.util.concurrent.BlockingQueue
    java.util.concurrent.BlockingQueue


public interface BlockingQueue extends Queue


FIELDS:

CONSTRUCTORS:

METHODS:
boolean add(Object e)
Throws: IllegalStateException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

boolean contains(Object o)
Throws: ClassCastException
Throws: NullPointerException

int drainTo(Collection c)
Throws: UnsupportedOperationException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

int drainTo(Collection c, int maxElements)
Throws: UnsupportedOperationException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

boolean offer(Object e)
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

boolean offer(Object e, long timeout, TimeUnit unit)
Throws: InterruptedException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

Object poll(long timeout, TimeUnit unit)
Throws: InterruptedException

void put(Object e)
Throws: InterruptedException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

int remainingCapacity()

boolean remove(Object o)
Throws: ClassCastException
Throws: NullPointerException

Object take()
Throws: InterruptedException


INHERITED METHODS:

SUBINTERFACES:
BlockingDeque,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net