public interface ResourceReloadStrategy extends StaticService, CamelContextAware
Resource
in an existing running CamelContext
ResourceReload
,
Resource
Modifier and Type | Method and Description |
---|---|
int |
getFailedCounter()
Number of reloads failed.
|
int |
getReloadCounter()
Number of reloads succeeded.
|
ResourceReload |
getResourceReload()
Gets the resource listener that is triggered on reload.
|
void |
resetCounters()
Reset the counters.
|
void |
setResourceReload(ResourceReload listener)
Sets the resource listener to trigger on reload.
|
getCamelContext, setCamelContext, trySetCamelContext
ResourceReload getResourceReload()
void setResourceReload(ResourceReload listener)
int getReloadCounter()
int getFailedCounter()
void resetCounters()
Apache Camel