Interface Reloadable


public interface Reloadable
Contract for components that support live (hot) reload of configuration.

Plugins implement this on any object that should react when its config file changes at runtime — e.g. re-reading values, rebuilding caches, re-registering listeners. The DevTool's live config editor calls reload() after saving edits so changes apply without a server restart.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reloads configuration state from disk / manager.
  • Method Details

    • reload

      void reload()
      Reloads configuration state from disk / manager. Must be safe to call repeatedly and from the main thread (or region thread).