Interface ResourceReloadStrategy

All Superinterfaces:
AutoCloseable, CamelContextAware, Service, StaticService

public interface ResourceReloadStrategy extends StaticService, CamelContextAware
SPI strategy for reloading Resource in an existing running CamelContext
See Also:
  • Method Details

    • getResourceReload

      ResourceReload getResourceReload()
      Gets the resource listener that is triggered on reload.
    • setResourceReload

      void setResourceReload(ResourceReload listener)
      Sets the resource listener to trigger on reload.
    • getReloadCounter

      int getReloadCounter()
      Number of reloads succeeded.
    • getFailedCounter

      int getFailedCounter()
      Number of reloads failed.
    • resetCounters

      void resetCounters()
      Reset the counters.