Code example for ConcurrentLinkedQueue

Methods: clear

0
  /** 
   * Clear the cache. 
   */ 
  public synchronized void clear() { 
    cache.clear();
    lruKeys.clear();
  } 
   
  /** 
   * @return the maximal cache size 
   */ 
  public int getCacheSize() { 
    return maxCacheSize;
  } 
 
  /** 
   * Set the number of TotalFacetCounts arrays that will remain in memory cache. 
   * <p> 
   * If new size is smaller than current size, the cache is appropriately trimmed. 
   * <p> 
Contextual code suggestions in your IDE  Get Codota for Java