Interface ConfigHandler

  • All Known Implementing Classes:
    MessageBus

    public interface ConfigHandler
    This class declares those methods required to be a handler for an instance of the ConfigAgent class. Instead of declaring separate subscribers and handlers for all types of configurations, this pair is intended to hold everything. Extend this handler whenever new configs are added to ConfigAgent.
    Author:
    Simon Thoresen Hult
    • Method Detail

      • setupRouting

        void setupRouting​(com.yahoo.messagebus.routing.RoutingSpec spec)
        Sets the routing specification for this client. This will be done synchronously during initialization, and then subsequently whenever an updated configuration is available.
        Parameters:
        spec - The routing specification.