ERXLazyValue< T >.TimedInvalidator Class Reference

List of all members.

Public Member Functions

void fetchedValue (Object value)
boolean shouldInvalidate ()
 TimedInvalidator (long timeToLiveInMillis)

Private Attributes

long _cacheTime
long _timeToLiveInMillis


Detailed Description

TimedInvalidator specifies that the cached value should be invalidated after a specified duration. When the value is refetched, the timer is restarted.

Author:
mschrag

Constructor & Destructor Documentation

TimedInvalidator ( long  timeToLiveInMillis  ) 

Constructs a new TimedInvalidator.

Parameters:
timeToLiveInMillis the time-to-live in milliseconds


Member Function Documentation

void fetchedValue ( Object  value  ) 

boolean shouldInvalidate (  ) 


Member Data Documentation

long _cacheTime [private]

long _timeToLiveInMillis [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:13 2012 for Project Wonder by  doxygen 1.5.8