Package org.castor.cache.hashbelt.container


package org.castor.cache.hashbelt.container
  • Class
    Description
    An interface describing implementation strategies for containers on the hashbelt; containers hold objects that are in the hashbelt, and provide the time-based grouping that allows the container to be efficiently dealt with as a group of objects to be expired.
    The FastIteratingContainer implementation of the Container interface assuems two things: Puts and removes are rare in proportion to gets and iteration are common.
    A very basic, HashMap-based implementation of the hashmap container strategy, using nothing more than a basic hashmap to store key/value pairs.
    An implementation of a container that uses weak references for storing values in the map, so that values can be removed from the map by the system when the system is under memory pressure.