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

com.alibaba.csp.ahas.sentinel.AhasSentinelConstants Maven / Gradle / Ivy

There is a newer version: 1.11.7
Show newest version
package com.alibaba.csp.ahas.sentinel;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

import com.alibaba.csp.sentinel.adapter.gateway.common.SentinelGatewayConstants;

/**
 * @author Eric Zhao
 */
public final class AhasSentinelConstants {

    public static final int GATEWAY_TYPE_SCG = 11;
    public static final int GATEWAY_TYPE_ZUUL1 = 12;

    public static final Set GATEWAY_APP_TYPES = Collections.unmodifiableSet(
        new HashSet() {{
            add(SentinelGatewayConstants.APP_TYPE_GATEWAY);
            add(GATEWAY_TYPE_SCG); add(GATEWAY_TYPE_ZUUL1);
        }}
    );

    private AhasSentinelConstants() {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy