dubbo RegistryConstants 源码
dubbo RegistryConstants 代码
文件路径:/dubbo-common/src/main/java/org/apache/dubbo/common/constants/RegistryConstants.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.dubbo.common.constants;
public interface RegistryConstants {
String REGISTRY_KEY = "registry";
String REGISTRY_CLUSTER_KEY = "REGISTRY_CLUSTER";
String REGISTRY_CLUSTER_TYPE_KEY = "registry-cluster-type";
String REGISTRY_PROTOCOL = "registry";
String DYNAMIC_KEY = "dynamic";
String CATEGORY_KEY = "category";
String PROVIDERS_CATEGORY = "providers";
String CONSUMERS_CATEGORY = "consumers";
String ROUTERS_CATEGORY = "routers";
String DYNAMIC_ROUTERS_CATEGORY = "dynamicrouters";
String DEFAULT_CATEGORY = PROVIDERS_CATEGORY;
String CONFIGURATORS_CATEGORY = "configurators";
String ALL_CATEGORIES = "providers,configurators,routers";
String DYNAMIC_CONFIGURATORS_CATEGORY = "dynamicconfigurators";
String APP_DYNAMIC_CONFIGURATORS_CATEGORY = "appdynamicconfigurators";
String ROUTERS_SUFFIX = ".routers";
String EMPTY_PROTOCOL = "empty";
String ROUTE_PROTOCOL = "route";
String ROUTE_SCRIPT_PROTOCOL = "script";
String OVERRIDE_PROTOCOL = "override";
String COMPATIBLE_CONFIG_KEY = "compatible_config";
String REGISTER_MODE_KEY = "register-mode";
String DUBBO_REGISTER_MODE_DEFAULT_KEY = "dubbo.application.register-mode";
String DUBBO_PUBLISH_INTERFACE_DEFAULT_KEY = "dubbo.application.publish-interface";
String DUBBO_PUBLISH_INSTANCE_DEFAULT_KEY = "dubbo.application.publish-instance";
String DEFAULT_REGISTER_MODE_INTERFACE = "interface";
String DEFAULT_REGISTER_MODE_INSTANCE = "instance";
String DEFAULT_REGISTER_MODE_ALL = "all";
/**
* The parameter key of Dubbo Registry type
*
* @since 2.7.5
*/
String REGISTRY_TYPE_KEY = "registry-type";
/**
* The parameter value of Service-Oriented Registry type
*
* @since 2.7.5
*/
String SERVICE_REGISTRY_TYPE = "service";
/**
* The protocol for Service Discovery
*
* @since 2.7.5
*/
String SERVICE_REGISTRY_PROTOCOL = "service-discovery-registry";
/**
* Specify registry level services consumer needs to subscribe to, multiple values should be separated using ",".
*/
String SUBSCRIBED_SERVICE_NAMES_KEY = "subscribed-services";
String PROVIDED_BY = "provided-by";
/**
* The provider tri port
*
* @since 3.1.0
*/
String PROVIDER_PORT = "provider-port";
/**
* provider namespace
*
* @since 3.1.1
*/
String PROVIDER_NAMESPACE = "provider-namespace";
/**
* The request size of service instances
*
* @since 2.7.5
*/
String INSTANCES_REQUEST_SIZE_KEY = "instances-request-size";
/**
* The default request size of service instances
*/
int DEFAULT_INSTANCES_REQUEST_SIZE = 100;
String ACCEPTS_KEY = "accepts";
String REGISTRY_ZONE = "registry_zone";
String REGISTRY_ZONE_FORCE = "registry_zone_force";
String ZONE_KEY = "zone";
String REGISTRY_SERVICE_REFERENCE_PATH = "org.apache.dubbo.registry.RegistryService";
String INIT = "INIT";
float DEFAULT_HASHMAP_LOAD_FACTOR = 0.75f;
String ENABLE_EMPTY_PROTECTION_KEY = "enable-empty-protection";
String REGISTER_CONSUMER_URL_KEY = "register-consumer-url";
}
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦