Class AbstractFieldCacheManager

  • All Implemented Interfaces:
    Serializable

    public abstract class AbstractFieldCacheManager
    extends Object
    implements Serializable
    Manages the field caches.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractFieldCacheManager

        public AbstractFieldCacheManager()
        Initializes manager.
    • Method Detail

      • clear

        public void clear()
        Clears the cache.
      • newFieldCacheItem

        protected abstract AbstractFieldCacheItem newFieldCacheItem​(FieldProvider provider)
        Creates a new cache item.
        Parameters:
        provider - the provider for which to create a new item
      • get

        public AbstractFieldCacheItem get​(FieldProvider provider)
        Retrieves the cache item for the specified database connection, creates it if necessary.
        Parameters:
        provider - the field provider
        Returns:
        the cache item