|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceRefresher
A SourceRefresher is a component that invokes the Source.refresh()
method on a configured set of Sources.
Implementations can for instance trigger refresh based on a timeout value or in response to an external event.
Field Summary | |
---|---|
static String |
PARAM_CACHE_INTERVAL
Refresh interval for the Source. |
static String |
ROLE
|
Method Summary | |
---|---|
void |
refresh(String name,
String uri,
Parameters params)
Add a uri to the SourceRefresher. |
Field Detail |
---|
static final String ROLE
static final String PARAM_CACHE_INTERVAL
DelaySourceRefresher
.
Method Detail |
---|
void refresh(String name, String uri, Parameters params) throws SourceException
name
- Uniquely identifying name for the source.uri
- The uri to refresh. Every valid protocol can be used.params
- Additional parameters such as an interval between refresh runs.
SourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |