Note: This method must not be called directly via user code, it is intended solely for use by the {@link DependencyContext#checkValidity(Dependency)} method tocheck the validity of a depedency.
This is intended to be a very quick operation that can be performed without attempting to access external resources. If it is not possible to determine the freshness within this method then it must return {@link Freshness#REVALIDATE}. In that case the {@link #revalidate(DependencyContext)} method will be called unlessanother dependency indicates that it is {@link Freshness#STALE}.
@param context The context within which this dependency is beingchecked. @return The freshness of the dependency, may not be null.
|
|
|
|
|
|
|
|
|
|