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
    • Constructor Detail

      • ExtensibleDependency

        public ExtensibleDependency()
    • Method Detail

      • initialize

        public abstract boolean initialize()
        Initializes the ExtensibleDependency.
        Returns:
        True if initialization is successful otherwise false.
      • 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 cache otherwise false.
      • getDependencies

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