Package org.w3c.util

Examples of org.w3c.util.SyncLRUList


      } catch (Exception ex) {
    // nothing, fallback to default
      }
  }
  // Create the LRU lists:
  idleList = new SyncLRUList();
  freeList = new SyncLRUList();
  // Create the full client list:
  csList = new SocketClientState();
  // Create all our clients:
  for (int i = 0 ; i < maxClients ; i++) {
      if ( addClient(true) == null )
View Full Code Here


    protected HttpManager() {
  this.template       = new Request(this);
  this.servers        = new Hashtable();
  this._tmp_servers   = new Hashtable();
  this.filteng        = new FilterEngine();
  this.connectionsLru = new SyncLRUList();
    }
View Full Code Here

  }
  synchronized (this) {
      collected = bytecount;
      saved_table = lookupTable;
      lookupTable = new Hashtable();
      lruList = new SyncLRUList();
      bytecount = 0;
      cr_count = 0;
  }
  Enumeration e = saved_table.elements();
  while (e.hasMoreElements()) {
View Full Code Here

    /**
     * Clean this generation.
     */
    public void clean() {
  this.lookupTable = new Hashtable();
  this.lruList     = new SyncLRUList();
  this.loaded      = false;
    }
View Full Code Here

    public CacheGeneration(CacheStore store, long maxsize) {
  this.store       = store;
  this.toDel       = new Vector();
  this.lookupTable = new Hashtable();
  this.bytelimit   = maxsize;
  this.lruList     = new SyncLRUList();
    }
View Full Code Here

     * CachedResourceDescription.
     */
    protected synchronized void loadGenerations()
  throws InvalidCacheException
    {
  generations        = new SyncLRUList();
  File genfiles[]    = getGenerationFiles();
  if (genfiles == null) {
      throw new InvalidCacheException("No generation files!");
  }
  int  len           = genfiles.length;
View Full Code Here

TOP

Related Classes of org.w3c.util.SyncLRUList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.