com.sun.enterprise.web.connector.grizzly
Class ConcurrentQueue<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractQueue<E>
          extended by java.util.concurrent.LinkedBlockingQueue<E>
              extended by com.sun.enterprise.web.connector.grizzly.ConcurrentQueue<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, BlockingQueue<E>, Queue<E>

public final class ConcurrentQueue<E>
extends LinkedBlockingQueue<E>

Concurrent Queue implementation, which is used in Grizzly. This class was introduced in order to easily change the type of Queue, which is used in Grizzly, because of strange memory leak, found with ConcurrentLinkedQueue#Nodes (CR6875041).

Author:
Alexey Stashok
See Also:
Serialized Form

Constructor Summary
ConcurrentQueue(String name)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.util.concurrent.LinkedBlockingQueue
clear, drainTo, drainTo, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, size, take, toArray, toArray
 
Methods inherited from class java.util.AbstractQueue
add, addAll, element, remove
 
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, removeAll, retainAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.concurrent.BlockingQueue
add, contains
 
Methods inherited from interface java.util.Queue
element, remove
 
Methods inherited from interface java.util.Collection
addAll, containsAll, equals, hashCode, isEmpty, removeAll, retainAll
 

Constructor Detail

ConcurrentQueue

public ConcurrentQueue(String name)
Method Detail

toString

public String toString()
Overrides:
toString in class LinkedBlockingQueue<E>


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.