类 Service
java.lang.Object
com.alibaba.nacos.api.naming.pojo.Service
- 所有已实现的接口:
Serializable
Service of Nacos.
We introduce a 'service --> cluster --> instance' model, in which service stores a list of clusters, which contains a list of instances.
Typically we put some unique properties between instances to service level.
- 作者:
- nkorange
- 另请参阅:
- 序列化表格
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddMetadata(String key, String value)getName()floatvoidsetAppName(String appName)voidsetGroupName(String groupName)voidsetMetadata(Map<String,String> metadata)voidvoidsetProtectThreshold(float protectThreshold)toString()
-
构造器详细资料
-
Service
public Service() -
Service
-
-
方法详细资料