All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.stork.api.config.LoadBalancerConfig Maven / Gradle / Ivy

Go to download

Main Stork API classes. You are likely to need `smallrye-stork-core` and not this module.

There is a newer version: 2.7.0
Show newest version
package io.smallrye.stork.api.config;

import java.util.Map;

/**
 * Load balancer configuration. Only used internally. The configuration is translated to an object
 * that provides parameters through getters
 */
public interface LoadBalancerConfig {

    /**
     * Load balancer type, e.g. "round-robin".
     * A LoadBalancerProvider for the type has to be available
     *
     * @return load balancer type
     */
    String type();

    /**
     * Load Balancer parameters.
     * 
     * @return map of parameters of the load balancer
     */
    Map parameters();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy