EsConfig.java 846 字节
Newer Older
P
pengys5 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package com.a.eye.skywalking.collector.worker.config;

/**
 * @author pengys5
 */
public class EsConfig {

    public static class Es {
        public static class Cluster {
            public static String name = "";
            public static String nodes = "";

            public static class Transport {
                public static String sniffer = "";
            }
        }

        public static class Index {
19 20

            public static class Initialize {
P
pengys5 已提交
21
                public static IndexInitMode mode;
22
            }
P
pengys5 已提交
23

P
pengys5 已提交
24
            public static class Shards {
P
pengys5 已提交
25
                public static String number = "";
P
pengys5 已提交
26 27
            }

P
pengys5 已提交
28 29
            public static class Replicas {
                public static String number = "";
P
pengys5 已提交
30 31 32
            }
        }
    }
33

P
pengys5 已提交
34
    public enum IndexInitMode {
Z
zhangxin 已提交
35 36 37
        AUTO,
        FORCED,
        MANUAL
38
    }
P
pengys5 已提交
39
}