ServiceTypeDescription Class
- java.
lang. Object - system.
fabric. description. ServiceTypeDescription
- system.
public class ServiceTypeDescription
Describes the service type.
Method Summary
Modifier and Type | Method and Description |
---|---|
HashMap<String, String> |
getExtensions()
Gets the extensions for the service type. |
LinkedHashMap<String, ServiceLoadMetricDescription> |
getLoadMetrics()
Gets the type of load metric is reported by the service. |
String |
getPlacementConstraints()
Gets the constraint to be used when instantiating this service in a Service Fabric cluster. |
List<ServicePlacementPolicyDescription> |
getPolicies()
Gets the policies of the service type. |
ServiceDescriptionKind |
getServiceTypeKind()
Gets the kind of service type. |
String |
getServiceTypeName()
Gets the name of the service type. |
void |
setPlacementConstraints(String placementConstraints)
Sets the constraint to be used when instantiating this service in a Service Fabric cluster. |
void |
setPolicies(List<ServicePlacementPolicyDescription> policies)
Sets the policies of the service type. |
void |
setServiceTypeKind(ServiceDescriptionKind serviceTypeKind)
Sets the kind of service type. |
void |
setServiceTypeName(String serviceTypeName)
Gets the name of the service type. |
Method Details
getExtensions
public HashMap
Gets the extensions for the service type.
Returns:
getLoadMetrics
public LinkedHashMap
Gets the type of load metric is reported by the service.
Returns:
getPlacementConstraints
public String getPlacementConstraints()
Gets the constraint to be used when instantiating this service in a Service Fabric cluster.
Returns:
getPolicies
public List
Gets the policies of the service type.
Returns:
getServiceTypeKind
public ServiceDescriptionKind getServiceTypeKind()
Gets the kind of service type.
Returns:
getServiceTypeName
public String getServiceTypeName()
Gets the name of the service type.
Returns:
setPlacementConstraints
public void setPlacementConstraints(String placementConstraints)
Sets the constraint to be used when instantiating this service in a Service Fabric cluster.
Parameters:
setPolicies
public void setPolicies(List
Sets the policies of the service type.
Parameters:
setServiceTypeKind
public void setServiceTypeKind(ServiceDescriptionKind serviceTypeKind)
Sets the kind of service type.
Parameters:
setServiceTypeName
public void setServiceTypeName(String serviceTypeName)
Gets the name of the service type.
Parameters:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기