Interface DruidNodeDiscovery.Listener

  • Enclosing interface:
    DruidNodeDiscovery

    public static interface DruidNodeDiscovery.Listener
    Listener for watching nodes in a DruidNodeDiscovery instance obtained via DruidNodeDiscoveryProvider.getXXX(). DruidNodeDiscovery implementation should assume that Listener is not thread-safe and never call methods in Listener concurrently. Implementation of Listener must ensure to not do any time consuming work or block in any of the methods.
    • Method Detail

      • nodeViewInitialized

        default void nodeViewInitialized()
        Called once when the underlying cache in the DruidNodeDiscovery implementation has been initialized.
      • nodeViewInitializedTimedOut

        default void nodeViewInitializedTimedOut()
        Called once when the underlying cache in the DruidNodeDiscovery implementation has timed out trying to initialize.