Class ExtensibleDependency

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    BulkExtensibleDependency

    public abstract class ExtensibleDependency
    extends CacheDependency
    ExtensibleDependency is an abstract class extended if Custom dependency is required.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<CacheDependency> getDependencies()
      Contains the list of dependencies for the CacheItem.
      abstract boolean hasChanged()
      hasChanged method is set true if item is updated, and it also needs to be updated in the cache.
      abstract boolean initialize()
      Initializes the ExtensibleDependency.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtensibleDependency

        public ExtensibleDependency()
    • Method Detail

      • initialize

        public abstract boolean initialize()
        Initializes the ExtensibleDependency.
        Returns:
        True/False for successful/unsuccessful initialization.
      • hasChanged

        public abstract boolean hasChanged()
        hasChanged method is set true if item is updated, and it also needs to be updated in the cache.
        Returns:
        True, if item also needs to be updated in the cache, otherwise false.
      • getDependencies

        public final java.util.List<CacheDependency> getDependencies()
        Contains the list of dependencies for the CacheItem.
        Overrides:
        getDependencies in class CacheDependency
        Returns:
        The list of dependencies associated with the CacheItem.