com.ibm.configurator.ddm.cache

Interface CacheItem

  • All Known Implementing Classes:
    DefaultCacheItem


    public interface CacheItem
    The cache item interface is the representation of data to be cached.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Object getKey()
      This method returns the cache key of the cache items.
      long getLastModified()
      This method returns last modified time of the model, when this cache item was created.
      java.util.List<Option> getOptions()
      This method returns the data that this cache item is representing.
    • Method Detail

      • getKey

        java.lang.Object getKey()
        This method returns the cache key of the cache items.
        Returns:
        The cache key of the cache item.
      • getOptions

        java.util.List<Option> getOptions()
        This method returns the data that this cache item is representing.
        Returns:
        The list of options.
      • getLastModified

        long getLastModified()
        This method returns last modified time of the model, when this cache item was created. This cache items is considered stale, if this value is not equal to model's last modified time.
        Returns:
        The last modified time of the model, when this cache item was created.