Interface ReloadStrategy

All Superinterfaces:
AutoCloseable, CamelContextAware, HasCamelContext, Service, StaticService
All Known Subinterfaces:
ContextReloadStrategy, ResourceReloadStrategy

public interface ReloadStrategy extends StaticService, CamelContextAware
SPI strategy for reloading.
See Also:
  • Method Details

    • onReload

      void onReload(Object source)
      Trigger reload.
      Parameters:
      source - source that triggers the reloading.
    • getReloadCounter

      int getReloadCounter()
      Number of reloads succeeded.
    • getFailedCounter

      int getFailedCounter()
      Number of reloads failed.
    • resetCounters

      void resetCounters()
      Reset the counters.