Project Wonder 5.0

er.extensions.foundation
Interface ERXLazyValue.Invalidator

All Known Implementing Classes:
ERXLazyValue.AjaxPageUserInfoCacheKeyInvalidator, ERXLazyValue.AlwaysInvalidator, ERXLazyValue.CacheKeyInvalidator, ERXLazyValue.MutableCacheKeyInvalidator, ERXLazyValue.NeverInvalidator, ERXLazyValue.PageUserInfoCacheKeyInvalidator, ERXLazyValue.ThreadStorageCacheKeyInvalidator, ERXLazyValue.TimedInvalidator
Enclosing class:
ERXLazyValue<T>

public static interface ERXLazyValue.Invalidator

Invalidator provides an mechanism for selectively invalidating the cached lazy value.

Author:
mschrag

Method Summary
 void fetchedValue(java.lang.Object value)
          Called when the lazy value is refetched from the source.
 boolean shouldInvalidate()
          Returns whether or not the lazy value should invalidate its cache.
 

Method Detail

fetchedValue

void fetchedValue(java.lang.Object value)
Called when the lazy value is refetched from the source.

Parameters:
value - the new value

shouldInvalidate

boolean shouldInvalidate()
Returns whether or not the lazy value should invalidate its cache.

Returns:
whether or not the lazy value should invalidate its cache

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.