|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.transport.tcp.connectioncache.impl.concurrent.ConcurrentQueueNonBlockingImpl<V>
public class ConcurrentQueueNonBlockingImpl<V>
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sun.xml.ws.transport.tcp.connectioncache.spi.concurrent.ConcurrentQueue |
---|
ConcurrentQueue.Handle<V> |
Constructor Summary | |
---|---|
ConcurrentQueueNonBlockingImpl()
|
Method Summary | |
---|---|
ConcurrentQueue.Handle<V> |
offer(V arg)
Add a new element to the tail of the queue. |
V |
poll()
Return an element from the head of the queue. |
int |
size()
Return the number of elements in the queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConcurrentQueueNonBlockingImpl()
Method Detail |
---|
public int size()
ConcurrentQueue
size
in interface ConcurrentQueue<V>
public ConcurrentQueue.Handle<V> offer(V arg)
offer
in interface ConcurrentQueue<V>
public V poll()
poll
in interface ConcurrentQueue<V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |