Partition. report Load(Collection<LoadMetric> metrics) 方法
Reports the load for a set of load balancing metrics. The load can be reported at any time via the java.util.Collection of LoadMetric method and provides one or more properties of the LoadMetric method.
Remarks:The reported metrics should correspond to those that are provided in the service load metric description as a part of the service description that is used to create the service. Load metrics that are not present in the description are ignored. Reporting custom metrics allows Service Fabric to balance services that are based on additional custom information.
public void reportLoad(Collection<LoadMetric> metrics)
This indicates that the partition object is closed. The replica/replicator/instance has either been closed or is about to be closed.