|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.factory.CacheRefresher
public class CacheRefresher
Cache refresh singleton for scheduling and performing cache clears.
| Constructor Summary | |
|---|---|
protected |
CacheRefresher()
Constructor for subclasses of CacheRefresher. |
| Method Summary | |
|---|---|
static CacheRefresher |
getInstance()
Get the singleton cache refresher instance. |
void |
recache(GenFactory<?> gf,
long when,
long delay)
Request a recache of the given factory to get data as of the given date after the given delay. |
static void |
setInstance(CacheRefresher to)
Set a CacheRefresher instance. |
void |
shutdown()
Shut down this cache refresher instance. |
| Methods inherited from class net.spy.SpyObject |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CacheRefresher()
| Method Detail |
|---|
public static CacheRefresher getInstance()
public static void setInstance(CacheRefresher to)
public void shutdown()
public void recache(GenFactory<?> gf,
long when,
long delay)
when - the date we requested the datadelay - how long to wait before refreshing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||