public class MonitorServiceInfo extends Object implements ServiceInfo
Constructor and Description |
---|
MonitorServiceInfo(String id,
String name) |
MonitorServiceInfo(String category,
String id,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ServiceInfo o) |
String |
getCategory()
返回服务分类
|
List<Parameter> |
getParameters()
若参数为空,需要返回一个空list
|
long |
getRequestTimeout()
返回服务超时时间
|
List<Parameter> |
getResults()
若结果集为空,需要返回一个空list
|
String |
getServiceId() |
String |
getServiceName() |
void |
setServiceId(String serviceId) |
void |
setServiceName(String serviceName) |
public String getServiceId()
getServiceId
in interface ServiceInfo
public void setServiceId(String serviceId)
public String getCategory()
ServiceInfo
getCategory
in interface ServiceInfo
public String getServiceName()
public void setServiceName(String serviceName)
public List<Parameter> getParameters()
ServiceInfo
getParameters
in interface ServiceInfo
public List<Parameter> getResults()
ServiceInfo
getResults
in interface ServiceInfo
public int compareTo(ServiceInfo o)
compareTo
in interface Comparable<ServiceInfo>
public long getRequestTimeout()
ServiceInfo
getRequestTimeout
in interface ServiceInfo
Copyright © 2006–2018 TinyGroup. All rights reserved.