package com.bocloud.cmp.entity.enums;

public class BalancingMethod {
    /**
     * 轮询
     */
    public static final String ROUND_ROBIN = "round-robin";
    /**
     * 比率-业务
     */
    public static final String RATIO_MEMBER = "ratio-member";
    /**
     * 最少连接方式-业务
     */
    public static final String LEAST_CONNECTIONS_MEMBER = "least-connections-member";
    /**
     * 观察模式-业务
     */
    public static final String OBSERVED_MEMBER = "observed-member";
    /**
     * 预测模式-业务
     */
    public static final String PREDICTIVE_MEMBER = "predictive-member";
    /**
     * 比率-服务器
     */
    public static final String RATIO_NODE = "ratio-node";
    /**
     * 最少连接方式-服务器
     */
    public static final String LEAST_CONNECTIONS_NODE = "least-connections-node";
    /**
     * 最快模式-服务器
     */
    public static final String FASTEST_NODE = "fastest-node";
    /**
     * 观察模式-服务器
     */
    public static final String OBSERVED_NODE = "observed-node";
    /**
     * 预测模式-服务器
     */
    public static final String PREDICTIVE_NODE = "predictive-node";
    /**
     * 动态比率-服务器
     */
    public static final String DYNAMIC_RATIO_NODE = "dynamic-ratio-node";
    /**
     * 最快模式-应用
     */
    public static final String FASTEST_APPLICATION = "fastest-application";
    /**
     * 最少会话
     */
    public static final String LEAST_SESSIONS = "least-sessions";
    /**
     * 动态比率-业务
     */
    public static final String DYNAMIC_RATIO_MEMBER = "dynamic-ratio-member";
    /**
     * 权重最少接连方式-业务
     */
    public static final String WEIGHTED_LEAST_CONNECTIONS_MEMBER = "weighted-least-connections-member";
    /**
     * 权重最少接连方式-服务器
     */
    public static final String WEIGHTED_LEAST_CONNECTIONS_NODE = "weighted-least-connections-node";
    /**
     * 比率-会话
     */
    public static final String RATIO_SESSION = "ratio-session";
    /**
     * 比率最少连接-业务
     */
    public static final String RATIO_LEAST_CONNECTIONS_MEMBER = "ratio-least-connections-member";
    /**
     * 比率最少连接-服务器
     */
    public static final String RATIO_LEAST_CONNECTIONS_NODE = "ratio-least-connections-node";
}
