Code example for ConcurrentLinkedQueue

0
/** 
 * Run queue implementation based on a {@link ConcurrentLinkedQueue}. This is a FIFO queue which may not give good caching performance for some function repositories and portfolios. 
 */ 
/* package */final class ConcurrentLinkedQueueRunQueue implements RunQueue { 
 
  private final ConcurrentLinkedQueue<ContextRunnable> _list = new ConcurrentLinkedQueue<ContextRunnable>(); 
 
  @Override 
  public boolean isEmpty() { 
    return _list.isEmpty(); 
  } 
 
  @Override 
  public int size() { 
    return _list.size(); 
  } 
 
  @Override 
  public Iterator<ContextRunnable> iterator() { 
    return _list.iterator(); 
Connect your IDE to all the code out there  Get Codota for Java