zeroc-ice 3.7.11__cp313-cp313-macosx_10_13_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- Glacier2/Metrics_ice.py +82 -0
- Glacier2/PermissionsVerifierF_ice.py +32 -0
- Glacier2/PermissionsVerifier_ice.py +284 -0
- Glacier2/RouterF_ice.py +28 -0
- Glacier2/Router_ice.py +618 -0
- Glacier2/SSLInfo_ice.py +179 -0
- Glacier2/Session_ice.py +1103 -0
- Glacier2/__init__.py +226 -0
- Ice/BuiltinSequences_ice.py +65 -0
- Ice/CommunicatorF_ice.py +27 -0
- Ice/Communicator_ice.py +469 -0
- Ice/ConnectionF_ice.py +33 -0
- Ice/Connection_ice.py +680 -0
- Ice/Current_ice.py +175 -0
- Ice/EndpointF_ice.py +45 -0
- Ice/EndpointTypes_ice.py +54 -0
- Ice/Endpoint_ice.py +304 -0
- Ice/FacetMap_ice.py +27 -0
- Ice/Identity_ice.py +133 -0
- Ice/ImplicitContextF_ice.py +27 -0
- Ice/ImplicitContext_ice.py +119 -0
- Ice/InstrumentationF_ice.py +38 -0
- Ice/Instrumentation_ice.py +566 -0
- Ice/LocalException_ice.py +1715 -0
- Ice/LocatorF_ice.py +32 -0
- Ice/Locator_ice.py +728 -0
- Ice/LoggerF_ice.py +27 -0
- Ice/Logger_ice.py +96 -0
- Ice/Metrics_ice.py +864 -0
- Ice/ObjectAdapterF_ice.py +27 -0
- Ice/ObjectAdapter_ice.py +461 -0
- Ice/ObjectFactory_ice.py +68 -0
- Ice/PluginF_ice.py +30 -0
- Ice/Plugin_ice.py +136 -0
- Ice/ProcessF_ice.py +28 -0
- Ice/Process_ice.py +175 -0
- Ice/PropertiesAdmin_ice.py +247 -0
- Ice/PropertiesF_ice.py +31 -0
- Ice/Properties_ice.py +199 -0
- Ice/Py3/IceFuture.py +52 -0
- Ice/Py3/__init__.py +3 -0
- Ice/RemoteLogger_ice.py +617 -0
- Ice/RouterF_ice.py +28 -0
- Ice/Router_ice.py +350 -0
- Ice/ServantLocatorF_ice.py +27 -0
- Ice/ServantLocator_ice.py +110 -0
- Ice/SliceChecksumDict_ice.py +29 -0
- Ice/ValueFactory_ice.py +125 -0
- Ice/Version_ice.py +217 -0
- Ice/__init__.py +2008 -0
- IceBox/IceBox_ice.py +644 -0
- IceBox/__init__.py +10 -0
- IceGrid/Admin_ice.py +6662 -0
- IceGrid/Descriptor_ice.py +1795 -0
- IceGrid/Exception_ice.py +592 -0
- IceGrid/FileParser_ice.py +171 -0
- IceGrid/PluginFacade_ice.py +288 -0
- IceGrid/Registry_ice.py +985 -0
- IceGrid/Session_ice.py +406 -0
- IceGrid/UserAccountMapper_ice.py +166 -0
- IceGrid/__init__.py +17 -0
- IceMX/__init__.py +12 -0
- IcePatch2/FileInfo_ice.py +287 -0
- IcePatch2/FileServer_ice.py +555 -0
- IcePatch2/__init__.py +11 -0
- IcePy.cpython-313-darwin.so +0 -0
- IceStorm/IceStorm_ice.py +1265 -0
- IceStorm/Metrics_ice.py +106 -0
- IceStorm/__init__.py +10 -0
- slice/Glacier2/Metrics.ice +88 -0
- slice/Glacier2/PermissionsVerifier.ice +111 -0
- slice/Glacier2/PermissionsVerifierF.ice +30 -0
- slice/Glacier2/Router.ice +186 -0
- slice/Glacier2/RouterF.ice +29 -0
- slice/Glacier2/SSLInfo.ice +59 -0
- slice/Glacier2/Session.ice +274 -0
- slice/Ice/BuiltinSequences.ice +59 -0
- slice/Ice/Communicator.ice +676 -0
- slice/Ice/CommunicatorF.ice +31 -0
- slice/Ice/Connection.ice +516 -0
- slice/Ice/ConnectionF.ice +33 -0
- slice/Ice/Current.ice +170 -0
- slice/Ice/Endpoint.ice +291 -0
- slice/Ice/EndpointF.ice +43 -0
- slice/Ice/EndpointTypes.ice +48 -0
- slice/Ice/FacetMap.ice +36 -0
- slice/Ice/Identity.ice +75 -0
- slice/Ice/ImplicitContext.ice +119 -0
- slice/Ice/ImplicitContextF.ice +30 -0
- slice/Ice/Instrumentation.ice +509 -0
- slice/Ice/InstrumentationF.ice +38 -0
- slice/Ice/LocalException.ice +1040 -0
- slice/Ice/Locator.ice +239 -0
- slice/Ice/LocatorF.ice +32 -0
- slice/Ice/Logger.ice +99 -0
- slice/Ice/LoggerF.ice +31 -0
- slice/Ice/Metrics.ice +436 -0
- slice/Ice/ObjectAdapter.ice +710 -0
- slice/Ice/ObjectAdapterF.ice +31 -0
- slice/Ice/ObjectFactory.ice +71 -0
- slice/Ice/Plugin.ice +131 -0
- slice/Ice/PluginF.ice +36 -0
- slice/Ice/Process.ice +64 -0
- slice/Ice/ProcessF.ice +31 -0
- slice/Ice/Properties.ice +244 -0
- slice/Ice/PropertiesAdmin.ice +87 -0
- slice/Ice/PropertiesF.ice +32 -0
- slice/Ice/RemoteLogger.ice +226 -0
- slice/Ice/Router.ice +103 -0
- slice/Ice/RouterF.ice +31 -0
- slice/Ice/ServantLocator.ice +136 -0
- slice/Ice/ServantLocatorF.ice +31 -0
- slice/Ice/SliceChecksumDict.ice +36 -0
- slice/Ice/ValueFactory.ice +133 -0
- slice/Ice/Version.ice +51 -0
- slice/IceBT/ConnectionInfo.ice +59 -0
- slice/IceBT/EndpointInfo.ice +57 -0
- slice/IceBT/Types.ice +45 -0
- slice/IceBox/IceBox.ice +216 -0
- slice/IceGrid/Admin.ice +1957 -0
- slice/IceGrid/Descriptor.ice +1094 -0
- slice/IceGrid/Exception.ice +396 -0
- slice/IceGrid/FileParser.ice +72 -0
- slice/IceGrid/PluginFacade.ice +329 -0
- slice/IceGrid/Registry.ice +269 -0
- slice/IceGrid/Session.ice +128 -0
- slice/IceGrid/UserAccountMapper.ice +69 -0
- slice/IceIAP/ConnectionInfo.ice +74 -0
- slice/IceIAP/EndpointInfo.ice +68 -0
- slice/IcePatch2/FileInfo.ice +85 -0
- slice/IcePatch2/FileServer.ice +191 -0
- slice/IceSSL/ConnectionInfo.ice +54 -0
- slice/IceSSL/ConnectionInfoF.ice +31 -0
- slice/IceSSL/EndpointInfo.ice +45 -0
- slice/IceStorm/IceStorm.ice +414 -0
- slice/IceStorm/Metrics.ice +83 -0
- slice2py.py +21 -0
- zeroc_ice-3.7.11.dist-info/METADATA +97 -0
- zeroc_ice-3.7.11.dist-info/RECORD +142 -0
- zeroc_ice-3.7.11.dist-info/WHEEL +5 -0
- zeroc_ice-3.7.11.dist-info/entry_points.txt +2 -0
- zeroc_ice-3.7.11.dist-info/top_level.txt +10 -0
slice/Ice/Metrics.ice
ADDED
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (c) ZeroC, Inc. All rights reserved.
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
#pragma once
|
|
6
|
+
|
|
7
|
+
[["cpp:dll-export:ICE_API"]]
|
|
8
|
+
[["cpp:doxygen:include:Ice/Ice.h"]]
|
|
9
|
+
[["cpp:header-ext:h"]]
|
|
10
|
+
|
|
11
|
+
[["ice-prefix"]]
|
|
12
|
+
|
|
13
|
+
[["js:module:ice"]]
|
|
14
|
+
[["js:cjs-module"]]
|
|
15
|
+
|
|
16
|
+
[["objc:dll-export:ICE_API"]]
|
|
17
|
+
[["objc:header-dir:objc"]]
|
|
18
|
+
|
|
19
|
+
[["python:pkgdir:Ice"]]
|
|
20
|
+
|
|
21
|
+
#include <Ice/BuiltinSequences.ice>
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* The Ice Management eXtension facility. It provides the
|
|
26
|
+
* {@link IceMX#MetricsAdmin} interface for management clients to
|
|
27
|
+
* retrieve metrics from Ice applications.
|
|
28
|
+
*
|
|
29
|
+
**/
|
|
30
|
+
#ifndef __SLICE2JAVA_COMPAT__
|
|
31
|
+
[["java:package:com.zeroc"]]
|
|
32
|
+
#endif
|
|
33
|
+
|
|
34
|
+
["objc:prefix:ICEMX", "swift:module:Ice:MX"]
|
|
35
|
+
module IceMX
|
|
36
|
+
{
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* A dictionary of strings to integers.
|
|
41
|
+
*
|
|
42
|
+
**/
|
|
43
|
+
dictionary<string, int> StringIntDict;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* The base class for metrics. A metrics object represents a
|
|
48
|
+
* collection of measurements associated to a given a system.
|
|
49
|
+
*
|
|
50
|
+
**/
|
|
51
|
+
class Metrics
|
|
52
|
+
{
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* The metrics identifier.
|
|
56
|
+
*
|
|
57
|
+
**/
|
|
58
|
+
string id;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* The total number of objects observed by this metrics. This includes
|
|
63
|
+
* the number of currently observed objects and the number of objects
|
|
64
|
+
* observed in the past.
|
|
65
|
+
*
|
|
66
|
+
**/
|
|
67
|
+
long total = 0;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* The number of objects currently observed by this metrics.
|
|
72
|
+
*
|
|
73
|
+
**/
|
|
74
|
+
int current = 0;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* The sum of the lifetime of each observed objects. This does not
|
|
79
|
+
* include the lifetime of objects which are currently observed,
|
|
80
|
+
* only the objects observed in the past.
|
|
81
|
+
*
|
|
82
|
+
**/
|
|
83
|
+
long totalLifetime = 0;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* The number of failures observed.
|
|
88
|
+
*
|
|
89
|
+
**/
|
|
90
|
+
int failures = 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* A structure to keep track of failures associated with a given
|
|
96
|
+
* metrics.
|
|
97
|
+
*
|
|
98
|
+
**/
|
|
99
|
+
struct MetricsFailures
|
|
100
|
+
{
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* The identifier of the metrics object associated to the
|
|
104
|
+
* failures.
|
|
105
|
+
*
|
|
106
|
+
**/
|
|
107
|
+
string id;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* The failures observed for this metrics.
|
|
112
|
+
*
|
|
113
|
+
**/
|
|
114
|
+
StringIntDict failures;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* A sequence of {@link MetricsFailures}.
|
|
120
|
+
*
|
|
121
|
+
**/
|
|
122
|
+
sequence<MetricsFailures> MetricsFailuresSeq;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* A metrics map is a sequence of metrics. We use a sequence here
|
|
127
|
+
* instead of a map because the ID of the metrics is already included
|
|
128
|
+
* in the Metrics class and using sequences of metrics objects is more
|
|
129
|
+
* efficient than using dictionaries since lookup is not necessary.
|
|
130
|
+
*
|
|
131
|
+
**/
|
|
132
|
+
sequence<Metrics> MetricsMap;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* A metrics view is a dictionary of metrics map. The key of the
|
|
137
|
+
* dictionary is the name of the metrics map.
|
|
138
|
+
*
|
|
139
|
+
**/
|
|
140
|
+
dictionary<string, MetricsMap> MetricsView;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* Raised if a metrics view cannot be found.
|
|
145
|
+
*
|
|
146
|
+
**/
|
|
147
|
+
exception UnknownMetricsView
|
|
148
|
+
{
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* The metrics administrative facet interface. This interface allows
|
|
154
|
+
* remote administrative clients to access metrics of an application
|
|
155
|
+
* that enabled the Ice administrative facility and configured some
|
|
156
|
+
* metrics views.
|
|
157
|
+
*
|
|
158
|
+
**/
|
|
159
|
+
["format:sliced"]
|
|
160
|
+
interface MetricsAdmin
|
|
161
|
+
{
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* Get the names of enabled and disabled metrics.
|
|
165
|
+
*
|
|
166
|
+
* @param disabledViews The names of the disabled views.
|
|
167
|
+
*
|
|
168
|
+
* @return The name of the enabled views.
|
|
169
|
+
*
|
|
170
|
+
**/
|
|
171
|
+
Ice::StringSeq getMetricsViewNames(out Ice::StringSeq disabledViews);
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* Enables a metrics view.
|
|
176
|
+
*
|
|
177
|
+
* @param name The metrics view name.
|
|
178
|
+
*
|
|
179
|
+
* @throws UnknownMetricsView Raised if the metrics view cannot be
|
|
180
|
+
* found.
|
|
181
|
+
*
|
|
182
|
+
**/
|
|
183
|
+
void enableMetricsView(string name)
|
|
184
|
+
throws UnknownMetricsView;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* Disable a metrics view.
|
|
189
|
+
*
|
|
190
|
+
* @param name The metrics view name.
|
|
191
|
+
*
|
|
192
|
+
* @throws UnknownMetricsView Raised if the metrics view cannot be
|
|
193
|
+
* found.
|
|
194
|
+
*
|
|
195
|
+
**/
|
|
196
|
+
void disableMetricsView(string name)
|
|
197
|
+
throws UnknownMetricsView;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* Get the metrics objects for the given metrics view. This
|
|
202
|
+
* returns a dictionary of metric maps for each metrics class
|
|
203
|
+
* configured with the view. The timestamp allows the client to
|
|
204
|
+
* compute averages which are not dependent of the invocation
|
|
205
|
+
* latency for this operation.
|
|
206
|
+
*
|
|
207
|
+
* @param view The name of the metrics view.
|
|
208
|
+
*
|
|
209
|
+
* @param timestamp The local time of the process when the metrics
|
|
210
|
+
* object were retrieved.
|
|
211
|
+
*
|
|
212
|
+
* @return The metrics view data.
|
|
213
|
+
*
|
|
214
|
+
* @throws UnknownMetricsView Raised if the metrics view cannot be
|
|
215
|
+
* found.
|
|
216
|
+
*
|
|
217
|
+
**/
|
|
218
|
+
MetricsView getMetricsView(string view, out long timestamp)
|
|
219
|
+
throws UnknownMetricsView;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* Get the metrics failures associated with the given view and map.
|
|
224
|
+
*
|
|
225
|
+
* @param view The name of the metrics view.
|
|
226
|
+
*
|
|
227
|
+
* @param map The name of the metrics map.
|
|
228
|
+
*
|
|
229
|
+
* @return The metrics failures associated with the map.
|
|
230
|
+
*
|
|
231
|
+
* @throws UnknownMetricsView Raised if the metrics view cannot be
|
|
232
|
+
* found.
|
|
233
|
+
*
|
|
234
|
+
**/
|
|
235
|
+
MetricsFailuresSeq getMapMetricsFailures(string view, string map)
|
|
236
|
+
throws UnknownMetricsView;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* Get the metrics failure associated for the given metrics.
|
|
241
|
+
*
|
|
242
|
+
* @param view The name of the metrics view.
|
|
243
|
+
*
|
|
244
|
+
* @param map The name of the metrics map.
|
|
245
|
+
*
|
|
246
|
+
* @param id The ID of the metrics.
|
|
247
|
+
*
|
|
248
|
+
* @return The metrics failures associated with the metrics.
|
|
249
|
+
*
|
|
250
|
+
* @throws UnknownMetricsView Raised if the metrics view cannot be
|
|
251
|
+
* found.
|
|
252
|
+
*
|
|
253
|
+
**/
|
|
254
|
+
MetricsFailures getMetricsFailures(string view, string map, string id)
|
|
255
|
+
throws UnknownMetricsView;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* Provides information on the number of threads currently in use and
|
|
261
|
+
* their activity.
|
|
262
|
+
*
|
|
263
|
+
**/
|
|
264
|
+
class ThreadMetrics extends Metrics
|
|
265
|
+
{
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* The number of threads which are currently performing socket
|
|
269
|
+
* read or writes.
|
|
270
|
+
*
|
|
271
|
+
**/
|
|
272
|
+
int inUseForIO = 0;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* The number of threads which are currently calling user code
|
|
277
|
+
* (servant dispatch, AMI callbacks, etc).
|
|
278
|
+
*
|
|
279
|
+
**/
|
|
280
|
+
int inUseForUser = 0;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* The number of threads which are currently performing other
|
|
285
|
+
* activities. These are all other that are not counted with
|
|
286
|
+
* {@link #inUseForUser} or {@link #inUseForIO}, such as DNS
|
|
287
|
+
* lookups, garbage collection).
|
|
288
|
+
*
|
|
289
|
+
**/
|
|
290
|
+
int inUseForOther = 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* Provides information on servant dispatch.
|
|
296
|
+
*
|
|
297
|
+
**/
|
|
298
|
+
class DispatchMetrics extends Metrics
|
|
299
|
+
{
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* The number of dispatch that failed with a user exception.
|
|
303
|
+
*
|
|
304
|
+
**/
|
|
305
|
+
int userException = 0;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* The size of the dispatch. This corresponds to the size of the
|
|
310
|
+
* marshalled input parameters.
|
|
311
|
+
*
|
|
312
|
+
**/
|
|
313
|
+
long size = 0;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* The size of the dispatch reply. This corresponds to the size of
|
|
318
|
+
* the marshalled output and return parameters.
|
|
319
|
+
*
|
|
320
|
+
**/
|
|
321
|
+
long replySize = 0;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* Provides information on child invocations. A child invocation is
|
|
327
|
+
* either remote (sent over an Ice connection) or collocated. An
|
|
328
|
+
* invocation can have multiple child invocation if it is
|
|
329
|
+
* retried. Child invocation metrics are embedded within
|
|
330
|
+
* {@link InvocationMetrics}.
|
|
331
|
+
*
|
|
332
|
+
**/
|
|
333
|
+
class ChildInvocationMetrics extends Metrics
|
|
334
|
+
{
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* The size of the invocation. This corresponds to the size of the
|
|
338
|
+
* marshalled input parameters.
|
|
339
|
+
*
|
|
340
|
+
**/
|
|
341
|
+
long size = 0;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* The size of the invocation reply. This corresponds to the size
|
|
346
|
+
* of the marshalled output and return parameters.
|
|
347
|
+
*
|
|
348
|
+
**/
|
|
349
|
+
long replySize = 0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* Provides information on invocations that are collocated. Collocated
|
|
355
|
+
* metrics are embedded within {@link InvocationMetrics}.
|
|
356
|
+
*
|
|
357
|
+
**/
|
|
358
|
+
class CollocatedMetrics extends ChildInvocationMetrics
|
|
359
|
+
{
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* Provides information on invocations that are specifically sent over
|
|
365
|
+
* Ice connections. Remote metrics are embedded within {@link InvocationMetrics}.
|
|
366
|
+
*
|
|
367
|
+
**/
|
|
368
|
+
class RemoteMetrics extends ChildInvocationMetrics
|
|
369
|
+
{
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* Provide measurements for proxy invocations. Proxy invocations can
|
|
375
|
+
* either be sent over the wire or be collocated.
|
|
376
|
+
*
|
|
377
|
+
**/
|
|
378
|
+
class InvocationMetrics extends Metrics
|
|
379
|
+
{
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* The number of retries for the invocation(s).
|
|
383
|
+
*
|
|
384
|
+
**/
|
|
385
|
+
int retry = 0;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* The number of invocations that failed with a user exception.
|
|
390
|
+
*
|
|
391
|
+
**/
|
|
392
|
+
int userException = 0;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* The remote invocation metrics map.
|
|
397
|
+
*
|
|
398
|
+
* @see RemoteMetrics
|
|
399
|
+
*
|
|
400
|
+
**/
|
|
401
|
+
MetricsMap remotes;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* The collocated invocation metrics map.
|
|
406
|
+
*
|
|
407
|
+
* @see CollocatedMetrics
|
|
408
|
+
*
|
|
409
|
+
**/
|
|
410
|
+
MetricsMap collocated;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* Provides information on the data sent and received over Ice
|
|
416
|
+
* connections.
|
|
417
|
+
*
|
|
418
|
+
**/
|
|
419
|
+
class ConnectionMetrics extends Metrics
|
|
420
|
+
{
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* The number of bytes received by the connection.
|
|
424
|
+
*
|
|
425
|
+
**/
|
|
426
|
+
long receivedBytes = 0;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* The number of bytes sent by the connection.
|
|
431
|
+
*
|
|
432
|
+
**/
|
|
433
|
+
long sentBytes = 0;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
}
|