org.castor.cache.hashbelt.container
Class MapContainer
public final
class
MapContainer
extends ConcurrentHashMap
implements Container
A very basic, HashMap-based implementation of the hashmap container strategy,
using nothing more than a basic hashmap to store key/value pairs. This works
well for lots of gets and a reasonably high volume of removes; if few removes
are required, and iterators are important to your particluar use-case of the
cache, it's better to use the FastIteratingContainer, which can handle
iterating at a higher speed, still has a map for accessing hash values, but has
a higher removal cost.
Since: 1.0
Version: $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author: Gregory Block Ralf Joachim
public long getTimestamp()
public Iterator keyIterator()
public void updateTimestamp()
public Iterator valueIterator()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com