public abstract class BulkExtensibleDependency extends ExtensibleDependency
Constructor | Description |
---|---|
BulkExtensibleDependency() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
evaluateBulk(java.lang.Iterable<BulkExtensibleDependency> dependencies) |
EvaluateBulk method is evaluate the dependency and invoke Expire() if change has occured.
|
void |
expire() |
Invoke this method for bulk dependency in evaluateBulk to trigger dependency change.
|
boolean |
hasChanged() |
In evaluateBulk if the dependency has triggered and want to expire item invoke the expire() for the dependency.we use this method to expire item in the cache.
|
dispose
getDependencies, initialize
public abstract void evaluateBulk(java.lang.Iterable<BulkExtensibleDependency> dependencies) throws java.lang.Exception
dependencies
- The dependencies that are evaluated.java.lang.Exception
public void expire()
public final boolean hasChanged()
hasChanged
in class ExtensibleDependency