| java.lang.Object org.apache.roller.util.LRUCache2
LRUCache2 | public class LRUCache2 (Code) | | LRU cache with per-entry timeout logic.
author: Dave Johnson |
Inner Class :public interface Environment | |
Inner Class :public static class DefaultEnvironment implements Environment | |
Constructor Summary | |
public | LRUCache2(int maxsize, long timeout) Create cache. | public | LRUCache2(Environment environment, int maxsize, long timeout) Create cache that uses custom environment. |
LRUCache2 | public LRUCache2(int maxsize, long timeout)(Code) | | Create cache.
Parameters: maxsize - Maximum number of entries in cache. Parameters: timeout - Entry timeout in milli-seconds. |
LRUCache2 | public LRUCache2(Environment environment, int maxsize, long timeout)(Code) | | Create cache that uses custom environment.
Parameters: maxsize - Maximum number of entries in cache. Parameters: timeout - Entry timeout in milli-seconds. |
purge | public synchronized void purge()(Code) | | |
purge | public synchronized void purge(String[] patterns)(Code) | | |
|
|