| java.util.HashMap org.apache.lenya.util.CacheMap
CacheMap | public class CacheMap extends HashMap implements LogEnabled(Code) | | A map with a maximum capacity. When the map is full, the oldest entry is removed.
|
Constructor Summary | |
public | CacheMap(int _capacity, Logger logger) Ctor. |
CacheMap | public CacheMap(int _capacity, Logger logger)(Code) | | Ctor.
Parameters: _capacity - The maximum number of entries. Parameters: logger - The logger. |
enableLogging | public void enableLogging(Logger logger)(Code) | | |
getLogger | protected Logger getLogger()(Code) | | |
|
|