GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 修复pathx · ucloud/ucloud-sdk-java@5669dd1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ucloud-sdk-java-pathx/src
    • main/java/cn/ucloud/pathx/model
      • GetPathXMetricResult.java
      • MetricPeriod.java
    • test/java/cn/ucloud/pathx/client
      • GetPathXMetricTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GetPathXMetricResult.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/GetPathXMetricResult.java
+4-6Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@ public class GetPathXMetricResult extends BaseResponseResult {
1616
*
1717
*/
1818
@SerializedName("DataSet")
19-
private List<MetricPeriod> dataSet;
19+
private MetricPeriod dataSet;
2020

2121

22-
public List<MetricPeriod> getDataSet() {
23-
return this.dataSet;
22+
public MetricPeriod getDataSet() {
23+
return dataSet;
2424
}
2525

26-
public void setDataSet(List<MetricPeriod> dataSet) {
26+
public void setDataSet(MetricPeriod dataSet) {
2727
this.dataSet = dataSet;
2828
}
29-
30-
3129
}
Collapse file

‎ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/MetricPeriod.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/model/MetricPeriod.java
+43Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,49 @@ public class MetricPeriod {
4242
@SerializedName("BandOut")
4343
private List<MatricPoint> bandOut;
4444

45+
@SerializedName("TCPDelay")
46+
private Double tcpDelay;
47+
48+
@SerializedName("InputRetransmitRate")
49+
private Double inputRetransmitRate;
50+
51+
@SerializedName("OutputRetransmitRate")
52+
private Double outputRetransmitRate;
53+
54+
@SerializedName("TCPConNum")
55+
private Integer tcpConNum;
56+
57+
public Double getTcpDelay() {
58+
return tcpDelay;
59+
}
60+
61+
public void setTcpDelay(Double tcpDelay) {
62+
this.tcpDelay = tcpDelay;
63+
}
64+
65+
public Double getInputRetransmitRate() {
66+
return inputRetransmitRate;
67+
}
68+
69+
public void setInputRetransmitRate(Double inputRetransmitRate) {
70+
this.inputRetransmitRate = inputRetransmitRate;
71+
}
72+
73+
public Double getOutputRetransmitRate() {
74+
return outputRetransmitRate;
75+
}
76+
77+
public void setOutputRetransmitRate(Double outputRetransmitRate) {
78+
this.outputRetransmitRate = outputRetransmitRate;
79+
}
80+
81+
public Integer getTcpConNum() {
82+
return tcpConNum;
83+
}
84+
85+
public void setTcpConNum(Integer tcpConNum) {
86+
this.tcpConNum = tcpConNum;
87+
}
4588

4689
public List<MatricPoint> getNetworkOut() {
4790
return this.networkOut;
Collapse file

‎ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/GetPathXMetricTest.java‎

Copy file name to clipboardExpand all lines: ucloud-sdk-java-pathx/src/test/java/cn/ucloud/pathx/client/GetPathXMetricTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public void setUp() throws Exception {
3030
client = new DefaultPATHXClient(new PATHXConfig(
3131
new Account(System.getenv("UCloudPrivateKey"),
3232
System.getenv("UCloudPublicKey"))));
33-
String projectId = "org-izug1m";
34-
String resourceId = "cn-sh2";
33+
String projectId = "org-o1ftjk";
34+
String resourceId = "upath-yxpvs2l0";
3535
Integer beginTime = 1;
3636
Integer endTime = 1;
3737
String resourceType = "upath";

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.