Interface BucketLoader

    • Method Detail

      • load

        Mono<ProposedBucketConfigContext> load​(NodeIdentifier seed,
                                               int port,
                                               String bucket,
                                               Optional<String> alternateAddress)
        Attempts to load a config for the given seed node.

        If something fails during the process, the error is propagated to the caller (i.e. the service could not be enabled or fetching the config failed for some other reason that was not recoverable in this loader specifically).

        Parameters:
        seed - the seed node to attempt loading from.
        bucket - the name of the bucket.
        Returns:
        a Mono eventually completing with a config or failing.