|
36 | 36 | public final class ZKFederationStateStoreOpDurations implements MetricsSource {
|
37 | 37 |
|
38 | 38 | @Metric("Duration for a add application homeSubcluster call")
|
39 |
| - private MutableRate addAppHomeSubClusterCall; |
| 39 | + private MutableRate addAppHomeSubCluster; |
40 | 40 |
|
41 | 41 | @Metric("Duration for a update application homeSubcluster call")
|
42 |
| - private MutableRate updateAppHomeSubClusterCall; |
| 42 | + private MutableRate updateAppHomeSubCluster; |
43 | 43 |
|
44 | 44 | @Metric("Duration for a get application homeSubcluster call")
|
45 |
| - private MutableRate getAppHomeSubClusterCall; |
| 45 | + private MutableRate getAppHomeSubCluster; |
46 | 46 |
|
47 | 47 | @Metric("Duration for a get applications homeSubcluster call")
|
48 |
| - private MutableRate getAppsHomeSubClusterCall; |
| 48 | + private MutableRate getAppsHomeSubCluster; |
49 | 49 |
|
50 | 50 | @Metric("Duration for a delete applications homeSubcluster call")
|
51 |
| - private MutableRate deleteAppHomeSubClusterCall; |
| 51 | + private MutableRate deleteAppHomeSubCluster; |
52 | 52 |
|
53 | 53 | @Metric("Duration for a register subCluster call")
|
54 |
| - private MutableRate registerSubClusterCall; |
| 54 | + private MutableRate registerSubCluster; |
55 | 55 |
|
56 | 56 | @Metric("Duration for a deregister subCluster call")
|
57 |
| - private MutableRate deregisterSubClusterCall; |
| 57 | + private MutableRate deregisterSubCluster; |
58 | 58 |
|
59 | 59 | @Metric("Duration for a subCluster Heartbeat call")
|
60 |
| - private MutableRate subClusterHeartbeatCall; |
| 60 | + private MutableRate subClusterHeartbeat; |
61 | 61 |
|
62 | 62 | @Metric("Duration for a get SubCluster call")
|
63 |
| - private MutableRate getSubClusterCall; |
| 63 | + private MutableRate getSubCluster; |
64 | 64 |
|
65 | 65 | @Metric("Duration for a get SubClusters call")
|
66 |
| - private MutableRate getSubClustersCall; |
| 66 | + private MutableRate getSubClusters; |
67 | 67 |
|
68 | 68 | @Metric("Duration for a get PolicyConfiguration call")
|
69 |
| - private MutableRate getPolicyConfigurationCall; |
| 69 | + private MutableRate getPolicyConfiguration; |
70 | 70 |
|
71 | 71 | @Metric("Duration for a set PolicyConfiguration call")
|
72 |
| - private MutableRate setPolicyConfigurationCall; |
| 72 | + private MutableRate setPolicyConfiguration; |
73 | 73 |
|
74 | 74 | @Metric("Duration for a get PolicyConfigurations call")
|
75 |
| - private MutableRate getPoliciesConfigurationsCall; |
| 75 | + private MutableRate getPoliciesConfigurations; |
76 | 76 |
|
77 | 77 | protected static final MetricsInfo RECORD_INFO =
|
78 | 78 | info("ZKFederationStateStoreOpDurations", "Durations of ZKFederationStateStore calls");
|
@@ -101,55 +101,55 @@ public synchronized void getMetrics(MetricsCollector collector, boolean all) {
|
101 | 101 | registry.snapshot(collector.addRecord(registry.info()), all);
|
102 | 102 | }
|
103 | 103 |
|
104 |
| - public void addAppHomeSubClusterCallDuration(long value) { |
105 |
| - addAppHomeSubClusterCall.add(value); |
| 104 | + public void addAppHomeSubClusterDuration(long value) { |
| 105 | + addAppHomeSubCluster.add(value); |
106 | 106 | }
|
107 | 107 |
|
108 |
| - public void addUpdateAppHomeSubClusterCallDuration(long value) { |
109 |
| - updateAppHomeSubClusterCall.add(value); |
| 108 | + public void addUpdateAppHomeSubClusterDuration(long value) { |
| 109 | + updateAppHomeSubCluster.add(value); |
110 | 110 | }
|
111 | 111 |
|
112 |
| - public void addGetAppHomeSubClusterCallDuration(long value) { |
113 |
| - getAppHomeSubClusterCall.add(value); |
| 112 | + public void addGetAppHomeSubClusterDuration(long value) { |
| 113 | + getAppHomeSubCluster.add(value); |
114 | 114 | }
|
115 | 115 |
|
116 |
| - public void addGetAppsHomeSubClusterCallDuration(long value) { |
117 |
| - getAppsHomeSubClusterCall.add(value); |
| 116 | + public void addGetAppsHomeSubClusterDuration(long value) { |
| 117 | + getAppsHomeSubCluster.add(value); |
118 | 118 | }
|
119 | 119 |
|
120 |
| - public void addDeleteAppHomeSubClusterCallDuration(long value) { |
121 |
| - deleteAppHomeSubClusterCall.add(value); |
| 120 | + public void addDeleteAppHomeSubClusterDuration(long value) { |
| 121 | + deleteAppHomeSubCluster.add(value); |
122 | 122 | }
|
123 | 123 |
|
124 |
| - public void addRegisterSubClusterCallDuration(long value) { |
125 |
| - registerSubClusterCall.add(value); |
| 124 | + public void addRegisterSubClusterDuration(long value) { |
| 125 | + registerSubCluster.add(value); |
126 | 126 | }
|
127 | 127 |
|
128 |
| - public void addDeregisterSubClusterCallDuration(long value) { |
129 |
| - deregisterSubClusterCall.add(value); |
| 128 | + public void addDeregisterSubClusterDuration(long value) { |
| 129 | + deregisterSubCluster.add(value); |
130 | 130 | }
|
131 | 131 |
|
132 |
| - public void addSubClusterHeartbeatCallDuration(long value) { |
133 |
| - subClusterHeartbeatCall.add(value); |
| 132 | + public void addSubClusterHeartbeatDuration(long value) { |
| 133 | + subClusterHeartbeat.add(value); |
134 | 134 | }
|
135 | 135 |
|
136 |
| - public void addGetSubClusterCallDuration(long value) { |
137 |
| - getSubClusterCall.add(value); |
| 136 | + public void addGetSubClusterDuration(long value) { |
| 137 | + getSubCluster.add(value); |
138 | 138 | }
|
139 | 139 |
|
140 |
| - public void addGetSubClustersCallDuration(long value) { |
141 |
| - getSubClustersCall.add(value); |
| 140 | + public void addGetSubClustersDuration(long value) { |
| 141 | + getSubClusters.add(value); |
142 | 142 | }
|
143 | 143 |
|
144 | 144 | public void addGetPolicyConfigurationDuration(long value) {
|
145 |
| - getPolicyConfigurationCall.add(value); |
| 145 | + getPolicyConfiguration.add(value); |
146 | 146 | }
|
147 | 147 |
|
148 | 148 | public void addSetPolicyConfigurationDuration(long value) {
|
149 |
| - setPolicyConfigurationCall.add(value); |
| 149 | + setPolicyConfiguration.add(value); |
150 | 150 | }
|
151 | 151 |
|
152 | 152 | public void addGetPoliciesConfigurationsDuration(long value) {
|
153 |
| - getPoliciesConfigurationsCall.add(value); |
| 153 | + getPoliciesConfigurations.add(value); |
154 | 154 | }
|
155 | 155 | }
|
0 commit comments