|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface URLCache.RefreshListener
RefreshListener objects can register with URLCache objects to be notified when the URLCache object is refreshed
URLCache.addRefreshListener(URLCache.RefreshListener),
URLCache.refreshContent()| Method Summary | |
|---|---|
void |
refreshedURLCache(URLCache uc,
boolean refreshSuccessful,
IOException reasonForFailure)
This method is called when a call to URLCache.refresh()
completes. |
| Method Detail |
|---|
void refreshedURLCache(URLCache uc,
boolean refreshSuccessful,
IOException reasonForFailure)
URLCache.refresh()
completes. This method is to return quickly as a hold-up here
delays the completion of a call to URLCache.refresh()!
The object monitor of the given URLCache instance is held while
this method executes, which blocks further refresh() calls;
it does not block access to previously cached data, however.
uc - The URLCache object that performed the refreshrefreshSuccessful - indicating whether the cache was successfully updated;reasonForFailure - contains the exception that caused the refresh to fail;
is null if update was successfulURLCache.refreshContent()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||