|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRefreshResult
An IRefreshResult
is provided to an auto-refresh
monitor. The result is used to submit resources to be refreshed, and
for reporting failure of the monitor.
Method Summary | |
---|---|
void |
monitorFailed(IRefreshMonitor monitor,
IResource resource)
Notifies that the given monitor has encountered a failure from which it cannot recover while monitoring the given resource. |
void |
refresh(IResource resource)
Requests that the provided resource be refreshed. |
Method Detail |
---|
void monitorFailed(IRefreshMonitor monitor, IResource resource)
If the given resource is null
it indicates that the
monitor has failed completely, and the refresh manager will have to
take over the monitoring responsibilities for all resources that the
monitor was monitoring.
monitor
- a monitor which has encountered a failure that it
cannot recover fromresource
- the resource that the monitor can no longer
monitor, or null
to indicate that the monitor can no
longer monitor any of the resources it was monitoringvoid refresh(IResource resource)
resource
- the resource to refresh
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |