Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 81962 invoked from network); 28 Jan 2002 07:28:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Jan 2002 07:28:30 -0000 Received: (qmail 1925 invoked by uid 97); 28 Jan 2002 07:28:32 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 1902 invoked by uid 97); 28 Jan 2002 07:28:31 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 1891 invoked by uid 97); 28 Jan 2002 07:28:31 -0000 Date: 28 Jan 2002 07:28:17 -0000 Message-ID: <20020128072817.79330.qmail@icarus.apache.org> From: colus@apache.org To: jakarta-avalon-excalibur-cvs@apache.org Subject: cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache TimeMapLRUCache.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N colus 02/01/27 23:28:17 Added: src/scratchpad/org/apache/avalon/excalibur/cache TimeMapLRUCache.java Log: TimeMapLRUCache replacement policy. On large cache this impl should be faster than current LRUPolicy. Submitted By: Alexis Agahi Revision Changes Path 1.1 jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/TimeMapLRUCache.java Index: TimeMapLRUCache.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software License * version 1.1, a copy of which has been included with this distribution in * the LICENSE.txt file. */ package org.apache.avalon.excalibur.cache; import org.apache.avalon.excalibur.cache.policy.TimeMapLRUPolicy; import org.apache.avalon.excalibur.cache.store.MemoryStore; /** * TimeMapLRUCache. * * @author Alexis Agahi */ public class TimeMapLRUCache extends DefaultCache { public TimeMapLRUCache( final int capacity ) { this( new MemoryStore( capacity ) ); } public TimeMapLRUCache( final CacheStore store ) { super( new TimeMapLRUPolicy(), store ); } } -- To unsubscribe, e-mail: For additional commands, e-mail: