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

com.hecloud.runtime.common.enums.HoteamConfig Maven / Gradle / Ivy

package com.hecloud.runtime.common.enums;

/**
 * ZooKeeper相关配置路径枚举
 *
 * @author LoveinBJ
 * @version 1.0
 * @since 2016.08.05
 */
public enum HoteamConfig {
    /**
     * 系统配置路径
     */
    System("/athena/system"),
    /**
     * 云供应商的配置路径
     */
    Butler("/athena/butler"),
    /**
     * 证书相关配置
     */
    License("/athena/license"),
    /**
     * 选主路径
     */
    Leader("/athena/leader"),
    /**
     * 服务基本路径
     */
    Service("/athena/services"),
    /**
     * 分布式锁基本路径
     */
    Lock("/athena/locks");

    private String zkPath;

    HoteamConfig(String path) {
        this.zkPath = path;
    }

    /**
     * @return the zkPath
     */
    public String getZkPath() {
        return zkPath;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy