public interface SourceMonitor
SourceMonitor is used as a callback object to set the availability for the
ddf.catalog.util.SourcePollerRunner| Modifier and Type | Method and Description |
|---|---|
void |
setAvailable()
Sets the availability of the monitored source to
SourceStatus.AVAILABLE. |
void |
setUnavailable()
Sets the availability of the monitored source to
SourceStatus.UNAVAILABLE. |
void setAvailable()
SourceStatus.AVAILABLE. This method is
used to identify to the caller that the Source is now available. A Source would
call this method when that Source becomes available.Source.isAvailable(SourceMonitor),
ddf.catalog.util.SourcePollerRunnervoid setUnavailable()
SourceStatus.UNAVAILABLE. This method
is used to identify to the caller that the Source is now unavailable. A Source
would call this method when that Source has become unavailable.Source.isAvailable(SourceMonitor),
ddf.catalog.util.SourcePollerRunnerThis work is licensed under a Creative Commons Attribution 4.0 International License.