zeroc-ice 3.7.11__cp314-cp314-macosx_10_15_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-314-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
Ice/Metrics_ice.py
ADDED
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
#
|
|
3
|
+
# Copyright (c) ZeroC, Inc. All rights reserved.
|
|
4
|
+
#
|
|
5
|
+
#
|
|
6
|
+
# Ice version 3.7.11
|
|
7
|
+
#
|
|
8
|
+
# <auto-generated>
|
|
9
|
+
#
|
|
10
|
+
# Generated from file `Metrics.ice'
|
|
11
|
+
#
|
|
12
|
+
# Warning: do not edit this file.
|
|
13
|
+
#
|
|
14
|
+
# </auto-generated>
|
|
15
|
+
#
|
|
16
|
+
|
|
17
|
+
from sys import version_info as _version_info_
|
|
18
|
+
import Ice, IcePy
|
|
19
|
+
import Ice.BuiltinSequences_ice
|
|
20
|
+
|
|
21
|
+
# Included module Ice
|
|
22
|
+
_M_Ice = Ice.openModule('Ice')
|
|
23
|
+
|
|
24
|
+
# Start of module IceMX
|
|
25
|
+
_M_IceMX = Ice.openModule('IceMX')
|
|
26
|
+
__name__ = 'IceMX'
|
|
27
|
+
_M_IceMX.__doc__ = """
|
|
28
|
+
The Ice Management eXtension facility. It provides the
|
|
29
|
+
IceMX#MetricsAdmin interface for management clients to
|
|
30
|
+
retrieve metrics from Ice applications.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
if '_t_StringIntDict' not in _M_IceMX.__dict__:
|
|
34
|
+
_M_IceMX._t_StringIntDict = IcePy.defineDictionary('::IceMX::StringIntDict', (), IcePy._t_string, IcePy._t_int)
|
|
35
|
+
|
|
36
|
+
if 'Metrics' not in _M_IceMX.__dict__:
|
|
37
|
+
_M_IceMX.Metrics = Ice.createTempClass()
|
|
38
|
+
class Metrics(Ice.Value):
|
|
39
|
+
"""
|
|
40
|
+
The base class for metrics. A metrics object represents a
|
|
41
|
+
collection of measurements associated to a given a system.
|
|
42
|
+
Members:
|
|
43
|
+
id -- The metrics identifier.
|
|
44
|
+
total -- The total number of objects observed by this metrics. This includes
|
|
45
|
+
the number of currently observed objects and the number of objects
|
|
46
|
+
observed in the past.
|
|
47
|
+
current -- The number of objects currently observed by this metrics.
|
|
48
|
+
totalLifetime -- The sum of the lifetime of each observed objects. This does not
|
|
49
|
+
include the lifetime of objects which are currently observed,
|
|
50
|
+
only the objects observed in the past.
|
|
51
|
+
failures -- The number of failures observed.
|
|
52
|
+
"""
|
|
53
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0):
|
|
54
|
+
self.id = id
|
|
55
|
+
self.total = total
|
|
56
|
+
self.current = current
|
|
57
|
+
self.totalLifetime = totalLifetime
|
|
58
|
+
self.failures = failures
|
|
59
|
+
|
|
60
|
+
def ice_id(self):
|
|
61
|
+
return '::IceMX::Metrics'
|
|
62
|
+
|
|
63
|
+
@staticmethod
|
|
64
|
+
def ice_staticId():
|
|
65
|
+
return '::IceMX::Metrics'
|
|
66
|
+
|
|
67
|
+
def __str__(self):
|
|
68
|
+
return IcePy.stringify(self, _M_IceMX._t_Metrics)
|
|
69
|
+
|
|
70
|
+
__repr__ = __str__
|
|
71
|
+
|
|
72
|
+
_M_IceMX._t_Metrics = IcePy.defineValue('::IceMX::Metrics', Metrics, -1, (), False, False, None, (
|
|
73
|
+
('id', (), IcePy._t_string, False, 0),
|
|
74
|
+
('total', (), IcePy._t_long, False, 0),
|
|
75
|
+
('current', (), IcePy._t_int, False, 0),
|
|
76
|
+
('totalLifetime', (), IcePy._t_long, False, 0),
|
|
77
|
+
('failures', (), IcePy._t_int, False, 0)
|
|
78
|
+
))
|
|
79
|
+
Metrics._ice_type = _M_IceMX._t_Metrics
|
|
80
|
+
|
|
81
|
+
_M_IceMX.Metrics = Metrics
|
|
82
|
+
del Metrics
|
|
83
|
+
|
|
84
|
+
if 'MetricsFailures' not in _M_IceMX.__dict__:
|
|
85
|
+
_M_IceMX.MetricsFailures = Ice.createTempClass()
|
|
86
|
+
class MetricsFailures(object):
|
|
87
|
+
"""
|
|
88
|
+
A structure to keep track of failures associated with a given
|
|
89
|
+
metrics.
|
|
90
|
+
Members:
|
|
91
|
+
id -- The identifier of the metrics object associated to the
|
|
92
|
+
failures.
|
|
93
|
+
failures -- The failures observed for this metrics.
|
|
94
|
+
"""
|
|
95
|
+
def __init__(self, id='', failures=None):
|
|
96
|
+
self.id = id
|
|
97
|
+
self.failures = failures
|
|
98
|
+
|
|
99
|
+
def __eq__(self, other):
|
|
100
|
+
if other is None:
|
|
101
|
+
return False
|
|
102
|
+
elif not isinstance(other, _M_IceMX.MetricsFailures):
|
|
103
|
+
return NotImplemented
|
|
104
|
+
else:
|
|
105
|
+
if self.id != other.id:
|
|
106
|
+
return False
|
|
107
|
+
if self.failures != other.failures:
|
|
108
|
+
return False
|
|
109
|
+
return True
|
|
110
|
+
|
|
111
|
+
def __ne__(self, other):
|
|
112
|
+
return not self.__eq__(other)
|
|
113
|
+
|
|
114
|
+
def __str__(self):
|
|
115
|
+
return IcePy.stringify(self, _M_IceMX._t_MetricsFailures)
|
|
116
|
+
|
|
117
|
+
__repr__ = __str__
|
|
118
|
+
|
|
119
|
+
_M_IceMX._t_MetricsFailures = IcePy.defineStruct('::IceMX::MetricsFailures', MetricsFailures, (), (
|
|
120
|
+
('id', (), IcePy._t_string),
|
|
121
|
+
('failures', (), _M_IceMX._t_StringIntDict)
|
|
122
|
+
))
|
|
123
|
+
|
|
124
|
+
_M_IceMX.MetricsFailures = MetricsFailures
|
|
125
|
+
del MetricsFailures
|
|
126
|
+
|
|
127
|
+
if '_t_MetricsFailuresSeq' not in _M_IceMX.__dict__:
|
|
128
|
+
_M_IceMX._t_MetricsFailuresSeq = IcePy.defineSequence('::IceMX::MetricsFailuresSeq', (), _M_IceMX._t_MetricsFailures)
|
|
129
|
+
|
|
130
|
+
if '_t_MetricsMap' not in _M_IceMX.__dict__:
|
|
131
|
+
_M_IceMX._t_MetricsMap = IcePy.defineSequence('::IceMX::MetricsMap', (), _M_IceMX._t_Metrics)
|
|
132
|
+
|
|
133
|
+
if '_t_MetricsView' not in _M_IceMX.__dict__:
|
|
134
|
+
_M_IceMX._t_MetricsView = IcePy.defineDictionary('::IceMX::MetricsView', (), IcePy._t_string, _M_IceMX._t_MetricsMap)
|
|
135
|
+
|
|
136
|
+
if 'UnknownMetricsView' not in _M_IceMX.__dict__:
|
|
137
|
+
_M_IceMX.UnknownMetricsView = Ice.createTempClass()
|
|
138
|
+
class UnknownMetricsView(Ice.UserException):
|
|
139
|
+
"""
|
|
140
|
+
Raised if a metrics view cannot be found.
|
|
141
|
+
"""
|
|
142
|
+
def __init__(self):
|
|
143
|
+
pass
|
|
144
|
+
|
|
145
|
+
def __str__(self):
|
|
146
|
+
return IcePy.stringifyException(self)
|
|
147
|
+
|
|
148
|
+
__repr__ = __str__
|
|
149
|
+
|
|
150
|
+
_ice_id = '::IceMX::UnknownMetricsView'
|
|
151
|
+
|
|
152
|
+
_M_IceMX._t_UnknownMetricsView = IcePy.defineException('::IceMX::UnknownMetricsView', UnknownMetricsView, (), False, None, ())
|
|
153
|
+
UnknownMetricsView._ice_type = _M_IceMX._t_UnknownMetricsView
|
|
154
|
+
|
|
155
|
+
_M_IceMX.UnknownMetricsView = UnknownMetricsView
|
|
156
|
+
del UnknownMetricsView
|
|
157
|
+
|
|
158
|
+
_M_IceMX._t_MetricsAdmin = IcePy.defineValue('::IceMX::MetricsAdmin', Ice.Value, -1, (), False, True, None, ())
|
|
159
|
+
|
|
160
|
+
if 'MetricsAdminPrx' not in _M_IceMX.__dict__:
|
|
161
|
+
_M_IceMX.MetricsAdminPrx = Ice.createTempClass()
|
|
162
|
+
class MetricsAdminPrx(Ice.ObjectPrx):
|
|
163
|
+
|
|
164
|
+
"""
|
|
165
|
+
Get the names of enabled and disabled metrics.
|
|
166
|
+
Arguments:
|
|
167
|
+
context -- The request context for the invocation.
|
|
168
|
+
Returns a tuple containing the following:
|
|
169
|
+
_retval -- The name of the enabled views.
|
|
170
|
+
disabledViews -- The names of the disabled views.
|
|
171
|
+
"""
|
|
172
|
+
def getMetricsViewNames(self, context=None):
|
|
173
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsViewNames.invoke(self, ((), context))
|
|
174
|
+
|
|
175
|
+
"""
|
|
176
|
+
Get the names of enabled and disabled metrics.
|
|
177
|
+
Arguments:
|
|
178
|
+
context -- The request context for the invocation.
|
|
179
|
+
Returns: A future object for the invocation.
|
|
180
|
+
"""
|
|
181
|
+
def getMetricsViewNamesAsync(self, context=None):
|
|
182
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsViewNames.invokeAsync(self, ((), context))
|
|
183
|
+
|
|
184
|
+
"""
|
|
185
|
+
Get the names of enabled and disabled metrics.
|
|
186
|
+
Arguments:
|
|
187
|
+
_response -- The asynchronous response callback.
|
|
188
|
+
_ex -- The asynchronous exception callback.
|
|
189
|
+
_sent -- The asynchronous sent callback.
|
|
190
|
+
context -- The request context for the invocation.
|
|
191
|
+
Returns: An asynchronous result object for the invocation.
|
|
192
|
+
"""
|
|
193
|
+
def begin_getMetricsViewNames(self, _response=None, _ex=None, _sent=None, context=None):
|
|
194
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsViewNames.begin(self, ((), _response, _ex, _sent, context))
|
|
195
|
+
|
|
196
|
+
"""
|
|
197
|
+
Get the names of enabled and disabled metrics.
|
|
198
|
+
Arguments:
|
|
199
|
+
Returns a tuple containing the following:
|
|
200
|
+
_retval -- The name of the enabled views.
|
|
201
|
+
disabledViews -- The names of the disabled views.
|
|
202
|
+
"""
|
|
203
|
+
def end_getMetricsViewNames(self, _r):
|
|
204
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsViewNames.end(self, _r)
|
|
205
|
+
|
|
206
|
+
"""
|
|
207
|
+
Enables a metrics view.
|
|
208
|
+
Arguments:
|
|
209
|
+
name -- The metrics view name.
|
|
210
|
+
context -- The request context for the invocation.
|
|
211
|
+
Throws:
|
|
212
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
213
|
+
"""
|
|
214
|
+
def enableMetricsView(self, name, context=None):
|
|
215
|
+
return _M_IceMX.MetricsAdmin._op_enableMetricsView.invoke(self, ((name, ), context))
|
|
216
|
+
|
|
217
|
+
"""
|
|
218
|
+
Enables a metrics view.
|
|
219
|
+
Arguments:
|
|
220
|
+
name -- The metrics view name.
|
|
221
|
+
context -- The request context for the invocation.
|
|
222
|
+
Returns: A future object for the invocation.
|
|
223
|
+
"""
|
|
224
|
+
def enableMetricsViewAsync(self, name, context=None):
|
|
225
|
+
return _M_IceMX.MetricsAdmin._op_enableMetricsView.invokeAsync(self, ((name, ), context))
|
|
226
|
+
|
|
227
|
+
"""
|
|
228
|
+
Enables a metrics view.
|
|
229
|
+
Arguments:
|
|
230
|
+
name -- The metrics view name.
|
|
231
|
+
_response -- The asynchronous response callback.
|
|
232
|
+
_ex -- The asynchronous exception callback.
|
|
233
|
+
_sent -- The asynchronous sent callback.
|
|
234
|
+
context -- The request context for the invocation.
|
|
235
|
+
Returns: An asynchronous result object for the invocation.
|
|
236
|
+
"""
|
|
237
|
+
def begin_enableMetricsView(self, name, _response=None, _ex=None, _sent=None, context=None):
|
|
238
|
+
return _M_IceMX.MetricsAdmin._op_enableMetricsView.begin(self, ((name, ), _response, _ex, _sent, context))
|
|
239
|
+
|
|
240
|
+
"""
|
|
241
|
+
Enables a metrics view.
|
|
242
|
+
Arguments:
|
|
243
|
+
name -- The metrics view name.
|
|
244
|
+
Throws:
|
|
245
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
246
|
+
"""
|
|
247
|
+
def end_enableMetricsView(self, _r):
|
|
248
|
+
return _M_IceMX.MetricsAdmin._op_enableMetricsView.end(self, _r)
|
|
249
|
+
|
|
250
|
+
"""
|
|
251
|
+
Disable a metrics view.
|
|
252
|
+
Arguments:
|
|
253
|
+
name -- The metrics view name.
|
|
254
|
+
context -- The request context for the invocation.
|
|
255
|
+
Throws:
|
|
256
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
257
|
+
"""
|
|
258
|
+
def disableMetricsView(self, name, context=None):
|
|
259
|
+
return _M_IceMX.MetricsAdmin._op_disableMetricsView.invoke(self, ((name, ), context))
|
|
260
|
+
|
|
261
|
+
"""
|
|
262
|
+
Disable a metrics view.
|
|
263
|
+
Arguments:
|
|
264
|
+
name -- The metrics view name.
|
|
265
|
+
context -- The request context for the invocation.
|
|
266
|
+
Returns: A future object for the invocation.
|
|
267
|
+
"""
|
|
268
|
+
def disableMetricsViewAsync(self, name, context=None):
|
|
269
|
+
return _M_IceMX.MetricsAdmin._op_disableMetricsView.invokeAsync(self, ((name, ), context))
|
|
270
|
+
|
|
271
|
+
"""
|
|
272
|
+
Disable a metrics view.
|
|
273
|
+
Arguments:
|
|
274
|
+
name -- The metrics view name.
|
|
275
|
+
_response -- The asynchronous response callback.
|
|
276
|
+
_ex -- The asynchronous exception callback.
|
|
277
|
+
_sent -- The asynchronous sent callback.
|
|
278
|
+
context -- The request context for the invocation.
|
|
279
|
+
Returns: An asynchronous result object for the invocation.
|
|
280
|
+
"""
|
|
281
|
+
def begin_disableMetricsView(self, name, _response=None, _ex=None, _sent=None, context=None):
|
|
282
|
+
return _M_IceMX.MetricsAdmin._op_disableMetricsView.begin(self, ((name, ), _response, _ex, _sent, context))
|
|
283
|
+
|
|
284
|
+
"""
|
|
285
|
+
Disable a metrics view.
|
|
286
|
+
Arguments:
|
|
287
|
+
name -- The metrics view name.
|
|
288
|
+
Throws:
|
|
289
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
290
|
+
"""
|
|
291
|
+
def end_disableMetricsView(self, _r):
|
|
292
|
+
return _M_IceMX.MetricsAdmin._op_disableMetricsView.end(self, _r)
|
|
293
|
+
|
|
294
|
+
"""
|
|
295
|
+
Get the metrics objects for the given metrics view. This
|
|
296
|
+
returns a dictionary of metric maps for each metrics class
|
|
297
|
+
configured with the view. The timestamp allows the client to
|
|
298
|
+
compute averages which are not dependent of the invocation
|
|
299
|
+
latency for this operation.
|
|
300
|
+
Arguments:
|
|
301
|
+
view -- The name of the metrics view.
|
|
302
|
+
context -- The request context for the invocation.
|
|
303
|
+
Returns a tuple containing the following:
|
|
304
|
+
_retval -- The metrics view data.
|
|
305
|
+
timestamp -- The local time of the process when the metrics object were retrieved.
|
|
306
|
+
Throws:
|
|
307
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
308
|
+
"""
|
|
309
|
+
def getMetricsView(self, view, context=None):
|
|
310
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsView.invoke(self, ((view, ), context))
|
|
311
|
+
|
|
312
|
+
"""
|
|
313
|
+
Get the metrics objects for the given metrics view. This
|
|
314
|
+
returns a dictionary of metric maps for each metrics class
|
|
315
|
+
configured with the view. The timestamp allows the client to
|
|
316
|
+
compute averages which are not dependent of the invocation
|
|
317
|
+
latency for this operation.
|
|
318
|
+
Arguments:
|
|
319
|
+
view -- The name of the metrics view.
|
|
320
|
+
context -- The request context for the invocation.
|
|
321
|
+
Returns: A future object for the invocation.
|
|
322
|
+
"""
|
|
323
|
+
def getMetricsViewAsync(self, view, context=None):
|
|
324
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsView.invokeAsync(self, ((view, ), context))
|
|
325
|
+
|
|
326
|
+
"""
|
|
327
|
+
Get the metrics objects for the given metrics view. This
|
|
328
|
+
returns a dictionary of metric maps for each metrics class
|
|
329
|
+
configured with the view. The timestamp allows the client to
|
|
330
|
+
compute averages which are not dependent of the invocation
|
|
331
|
+
latency for this operation.
|
|
332
|
+
Arguments:
|
|
333
|
+
view -- The name of the metrics view.
|
|
334
|
+
_response -- The asynchronous response callback.
|
|
335
|
+
_ex -- The asynchronous exception callback.
|
|
336
|
+
_sent -- The asynchronous sent callback.
|
|
337
|
+
context -- The request context for the invocation.
|
|
338
|
+
Returns: An asynchronous result object for the invocation.
|
|
339
|
+
"""
|
|
340
|
+
def begin_getMetricsView(self, view, _response=None, _ex=None, _sent=None, context=None):
|
|
341
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsView.begin(self, ((view, ), _response, _ex, _sent, context))
|
|
342
|
+
|
|
343
|
+
"""
|
|
344
|
+
Get the metrics objects for the given metrics view. This
|
|
345
|
+
returns a dictionary of metric maps for each metrics class
|
|
346
|
+
configured with the view. The timestamp allows the client to
|
|
347
|
+
compute averages which are not dependent of the invocation
|
|
348
|
+
latency for this operation.
|
|
349
|
+
Arguments:
|
|
350
|
+
view -- The name of the metrics view.
|
|
351
|
+
Returns a tuple containing the following:
|
|
352
|
+
_retval -- The metrics view data.
|
|
353
|
+
timestamp -- The local time of the process when the metrics object were retrieved.
|
|
354
|
+
Throws:
|
|
355
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
356
|
+
"""
|
|
357
|
+
def end_getMetricsView(self, _r):
|
|
358
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsView.end(self, _r)
|
|
359
|
+
|
|
360
|
+
"""
|
|
361
|
+
Get the metrics failures associated with the given view and map.
|
|
362
|
+
Arguments:
|
|
363
|
+
view -- The name of the metrics view.
|
|
364
|
+
map -- The name of the metrics map.
|
|
365
|
+
context -- The request context for the invocation.
|
|
366
|
+
Returns: The metrics failures associated with the map.
|
|
367
|
+
Throws:
|
|
368
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
369
|
+
"""
|
|
370
|
+
def getMapMetricsFailures(self, view, map, context=None):
|
|
371
|
+
return _M_IceMX.MetricsAdmin._op_getMapMetricsFailures.invoke(self, ((view, map), context))
|
|
372
|
+
|
|
373
|
+
"""
|
|
374
|
+
Get the metrics failures associated with the given view and map.
|
|
375
|
+
Arguments:
|
|
376
|
+
view -- The name of the metrics view.
|
|
377
|
+
map -- The name of the metrics map.
|
|
378
|
+
context -- The request context for the invocation.
|
|
379
|
+
Returns: A future object for the invocation.
|
|
380
|
+
"""
|
|
381
|
+
def getMapMetricsFailuresAsync(self, view, map, context=None):
|
|
382
|
+
return _M_IceMX.MetricsAdmin._op_getMapMetricsFailures.invokeAsync(self, ((view, map), context))
|
|
383
|
+
|
|
384
|
+
"""
|
|
385
|
+
Get the metrics failures associated with the given view and map.
|
|
386
|
+
Arguments:
|
|
387
|
+
view -- The name of the metrics view.
|
|
388
|
+
map -- The name of the metrics map.
|
|
389
|
+
_response -- The asynchronous response callback.
|
|
390
|
+
_ex -- The asynchronous exception callback.
|
|
391
|
+
_sent -- The asynchronous sent callback.
|
|
392
|
+
context -- The request context for the invocation.
|
|
393
|
+
Returns: An asynchronous result object for the invocation.
|
|
394
|
+
"""
|
|
395
|
+
def begin_getMapMetricsFailures(self, view, map, _response=None, _ex=None, _sent=None, context=None):
|
|
396
|
+
return _M_IceMX.MetricsAdmin._op_getMapMetricsFailures.begin(self, ((view, map), _response, _ex, _sent, context))
|
|
397
|
+
|
|
398
|
+
"""
|
|
399
|
+
Get the metrics failures associated with the given view and map.
|
|
400
|
+
Arguments:
|
|
401
|
+
view -- The name of the metrics view.
|
|
402
|
+
map -- The name of the metrics map.
|
|
403
|
+
Returns: The metrics failures associated with the map.
|
|
404
|
+
Throws:
|
|
405
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
406
|
+
"""
|
|
407
|
+
def end_getMapMetricsFailures(self, _r):
|
|
408
|
+
return _M_IceMX.MetricsAdmin._op_getMapMetricsFailures.end(self, _r)
|
|
409
|
+
|
|
410
|
+
"""
|
|
411
|
+
Get the metrics failure associated for the given metrics.
|
|
412
|
+
Arguments:
|
|
413
|
+
view -- The name of the metrics view.
|
|
414
|
+
map -- The name of the metrics map.
|
|
415
|
+
id -- The ID of the metrics.
|
|
416
|
+
context -- The request context for the invocation.
|
|
417
|
+
Returns: The metrics failures associated with the metrics.
|
|
418
|
+
Throws:
|
|
419
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
420
|
+
"""
|
|
421
|
+
def getMetricsFailures(self, view, map, id, context=None):
|
|
422
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsFailures.invoke(self, ((view, map, id), context))
|
|
423
|
+
|
|
424
|
+
"""
|
|
425
|
+
Get the metrics failure associated for the given metrics.
|
|
426
|
+
Arguments:
|
|
427
|
+
view -- The name of the metrics view.
|
|
428
|
+
map -- The name of the metrics map.
|
|
429
|
+
id -- The ID of the metrics.
|
|
430
|
+
context -- The request context for the invocation.
|
|
431
|
+
Returns: A future object for the invocation.
|
|
432
|
+
"""
|
|
433
|
+
def getMetricsFailuresAsync(self, view, map, id, context=None):
|
|
434
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsFailures.invokeAsync(self, ((view, map, id), context))
|
|
435
|
+
|
|
436
|
+
"""
|
|
437
|
+
Get the metrics failure associated for the given metrics.
|
|
438
|
+
Arguments:
|
|
439
|
+
view -- The name of the metrics view.
|
|
440
|
+
map -- The name of the metrics map.
|
|
441
|
+
id -- The ID of the metrics.
|
|
442
|
+
_response -- The asynchronous response callback.
|
|
443
|
+
_ex -- The asynchronous exception callback.
|
|
444
|
+
_sent -- The asynchronous sent callback.
|
|
445
|
+
context -- The request context for the invocation.
|
|
446
|
+
Returns: An asynchronous result object for the invocation.
|
|
447
|
+
"""
|
|
448
|
+
def begin_getMetricsFailures(self, view, map, id, _response=None, _ex=None, _sent=None, context=None):
|
|
449
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsFailures.begin(self, ((view, map, id), _response, _ex, _sent, context))
|
|
450
|
+
|
|
451
|
+
"""
|
|
452
|
+
Get the metrics failure associated for the given metrics.
|
|
453
|
+
Arguments:
|
|
454
|
+
view -- The name of the metrics view.
|
|
455
|
+
map -- The name of the metrics map.
|
|
456
|
+
id -- The ID of the metrics.
|
|
457
|
+
Returns: The metrics failures associated with the metrics.
|
|
458
|
+
Throws:
|
|
459
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
460
|
+
"""
|
|
461
|
+
def end_getMetricsFailures(self, _r):
|
|
462
|
+
return _M_IceMX.MetricsAdmin._op_getMetricsFailures.end(self, _r)
|
|
463
|
+
|
|
464
|
+
@staticmethod
|
|
465
|
+
def checkedCast(proxy, facetOrContext=None, context=None):
|
|
466
|
+
return _M_IceMX.MetricsAdminPrx.ice_checkedCast(proxy, '::IceMX::MetricsAdmin', facetOrContext, context)
|
|
467
|
+
|
|
468
|
+
@staticmethod
|
|
469
|
+
def uncheckedCast(proxy, facet=None):
|
|
470
|
+
return _M_IceMX.MetricsAdminPrx.ice_uncheckedCast(proxy, facet)
|
|
471
|
+
|
|
472
|
+
@staticmethod
|
|
473
|
+
def ice_staticId():
|
|
474
|
+
return '::IceMX::MetricsAdmin'
|
|
475
|
+
_M_IceMX._t_MetricsAdminPrx = IcePy.defineProxy('::IceMX::MetricsAdmin', MetricsAdminPrx)
|
|
476
|
+
|
|
477
|
+
_M_IceMX.MetricsAdminPrx = MetricsAdminPrx
|
|
478
|
+
del MetricsAdminPrx
|
|
479
|
+
|
|
480
|
+
_M_IceMX.MetricsAdmin = Ice.createTempClass()
|
|
481
|
+
class MetricsAdmin(Ice.Object):
|
|
482
|
+
|
|
483
|
+
def ice_ids(self, current=None):
|
|
484
|
+
return ('::Ice::Object', '::IceMX::MetricsAdmin')
|
|
485
|
+
|
|
486
|
+
def ice_id(self, current=None):
|
|
487
|
+
return '::IceMX::MetricsAdmin'
|
|
488
|
+
|
|
489
|
+
@staticmethod
|
|
490
|
+
def ice_staticId():
|
|
491
|
+
return '::IceMX::MetricsAdmin'
|
|
492
|
+
|
|
493
|
+
def getMetricsViewNames(self, current=None):
|
|
494
|
+
"""
|
|
495
|
+
Get the names of enabled and disabled metrics.
|
|
496
|
+
Arguments:
|
|
497
|
+
current -- The Current object for the invocation.
|
|
498
|
+
Returns: A future object for the invocation.
|
|
499
|
+
"""
|
|
500
|
+
raise NotImplementedError("servant method 'getMetricsViewNames' not implemented")
|
|
501
|
+
|
|
502
|
+
def enableMetricsView(self, name, current=None):
|
|
503
|
+
"""
|
|
504
|
+
Enables a metrics view.
|
|
505
|
+
Arguments:
|
|
506
|
+
name -- The metrics view name.
|
|
507
|
+
current -- The Current object for the invocation.
|
|
508
|
+
Returns: A future object for the invocation.
|
|
509
|
+
Throws:
|
|
510
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
511
|
+
"""
|
|
512
|
+
raise NotImplementedError("servant method 'enableMetricsView' not implemented")
|
|
513
|
+
|
|
514
|
+
def disableMetricsView(self, name, current=None):
|
|
515
|
+
"""
|
|
516
|
+
Disable a metrics view.
|
|
517
|
+
Arguments:
|
|
518
|
+
name -- The metrics view name.
|
|
519
|
+
current -- The Current object for the invocation.
|
|
520
|
+
Returns: A future object for the invocation.
|
|
521
|
+
Throws:
|
|
522
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
523
|
+
"""
|
|
524
|
+
raise NotImplementedError("servant method 'disableMetricsView' not implemented")
|
|
525
|
+
|
|
526
|
+
def getMetricsView(self, view, current=None):
|
|
527
|
+
"""
|
|
528
|
+
Get the metrics objects for the given metrics view. This
|
|
529
|
+
returns a dictionary of metric maps for each metrics class
|
|
530
|
+
configured with the view. The timestamp allows the client to
|
|
531
|
+
compute averages which are not dependent of the invocation
|
|
532
|
+
latency for this operation.
|
|
533
|
+
Arguments:
|
|
534
|
+
view -- The name of the metrics view.
|
|
535
|
+
current -- The Current object for the invocation.
|
|
536
|
+
Returns: A future object for the invocation.
|
|
537
|
+
Throws:
|
|
538
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
539
|
+
"""
|
|
540
|
+
raise NotImplementedError("servant method 'getMetricsView' not implemented")
|
|
541
|
+
|
|
542
|
+
def getMapMetricsFailures(self, view, map, current=None):
|
|
543
|
+
"""
|
|
544
|
+
Get the metrics failures associated with the given view and map.
|
|
545
|
+
Arguments:
|
|
546
|
+
view -- The name of the metrics view.
|
|
547
|
+
map -- The name of the metrics map.
|
|
548
|
+
current -- The Current object for the invocation.
|
|
549
|
+
Returns: A future object for the invocation.
|
|
550
|
+
Throws:
|
|
551
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
552
|
+
"""
|
|
553
|
+
raise NotImplementedError("servant method 'getMapMetricsFailures' not implemented")
|
|
554
|
+
|
|
555
|
+
def getMetricsFailures(self, view, map, id, current=None):
|
|
556
|
+
"""
|
|
557
|
+
Get the metrics failure associated for the given metrics.
|
|
558
|
+
Arguments:
|
|
559
|
+
view -- The name of the metrics view.
|
|
560
|
+
map -- The name of the metrics map.
|
|
561
|
+
id -- The ID of the metrics.
|
|
562
|
+
current -- The Current object for the invocation.
|
|
563
|
+
Returns: A future object for the invocation.
|
|
564
|
+
Throws:
|
|
565
|
+
UnknownMetricsView -- Raised if the metrics view cannot be found.
|
|
566
|
+
"""
|
|
567
|
+
raise NotImplementedError("servant method 'getMetricsFailures' not implemented")
|
|
568
|
+
|
|
569
|
+
def __str__(self):
|
|
570
|
+
return IcePy.stringify(self, _M_IceMX._t_MetricsAdminDisp)
|
|
571
|
+
|
|
572
|
+
__repr__ = __str__
|
|
573
|
+
|
|
574
|
+
_M_IceMX._t_MetricsAdminDisp = IcePy.defineClass('::IceMX::MetricsAdmin', MetricsAdmin, (), None, ())
|
|
575
|
+
MetricsAdmin._ice_type = _M_IceMX._t_MetricsAdminDisp
|
|
576
|
+
|
|
577
|
+
MetricsAdmin._op_getMetricsViewNames = IcePy.Operation('getMetricsViewNames', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, Ice.FormatType.SlicedFormat, (), (), (((), _M_Ice._t_StringSeq, False, 0),), ((), _M_Ice._t_StringSeq, False, 0), ())
|
|
578
|
+
MetricsAdmin._op_enableMetricsView = IcePy.Operation('enableMetricsView', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, Ice.FormatType.SlicedFormat, (), (((), IcePy._t_string, False, 0),), (), None, (_M_IceMX._t_UnknownMetricsView,))
|
|
579
|
+
MetricsAdmin._op_disableMetricsView = IcePy.Operation('disableMetricsView', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, Ice.FormatType.SlicedFormat, (), (((), IcePy._t_string, False, 0),), (), None, (_M_IceMX._t_UnknownMetricsView,))
|
|
580
|
+
MetricsAdmin._op_getMetricsView = IcePy.Operation('getMetricsView', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, Ice.FormatType.SlicedFormat, (), (((), IcePy._t_string, False, 0),), (((), IcePy._t_long, False, 0),), ((), _M_IceMX._t_MetricsView, False, 0), (_M_IceMX._t_UnknownMetricsView,))
|
|
581
|
+
MetricsAdmin._op_getMapMetricsFailures = IcePy.Operation('getMapMetricsFailures', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, Ice.FormatType.SlicedFormat, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0)), (), ((), _M_IceMX._t_MetricsFailuresSeq, False, 0), (_M_IceMX._t_UnknownMetricsView,))
|
|
582
|
+
MetricsAdmin._op_getMetricsFailures = IcePy.Operation('getMetricsFailures', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, Ice.FormatType.SlicedFormat, (), (((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0), ((), IcePy._t_string, False, 0)), (), ((), _M_IceMX._t_MetricsFailures, False, 0), (_M_IceMX._t_UnknownMetricsView,))
|
|
583
|
+
|
|
584
|
+
_M_IceMX.MetricsAdmin = MetricsAdmin
|
|
585
|
+
del MetricsAdmin
|
|
586
|
+
|
|
587
|
+
if 'ThreadMetrics' not in _M_IceMX.__dict__:
|
|
588
|
+
_M_IceMX.ThreadMetrics = Ice.createTempClass()
|
|
589
|
+
class ThreadMetrics(_M_IceMX.Metrics):
|
|
590
|
+
"""
|
|
591
|
+
Provides information on the number of threads currently in use and
|
|
592
|
+
their activity.
|
|
593
|
+
Members:
|
|
594
|
+
inUseForIO -- The number of threads which are currently performing socket
|
|
595
|
+
read or writes.
|
|
596
|
+
inUseForUser -- The number of threads which are currently calling user code
|
|
597
|
+
(servant dispatch, AMI callbacks, etc).
|
|
598
|
+
inUseForOther -- The number of threads which are currently performing other
|
|
599
|
+
activities. These are all other that are not counted with
|
|
600
|
+
inUseForUser or inUseForIO, such as DNS
|
|
601
|
+
lookups, garbage collection).
|
|
602
|
+
"""
|
|
603
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, inUseForIO=0, inUseForUser=0, inUseForOther=0):
|
|
604
|
+
_M_IceMX.Metrics.__init__(self, id, total, current, totalLifetime, failures)
|
|
605
|
+
self.inUseForIO = inUseForIO
|
|
606
|
+
self.inUseForUser = inUseForUser
|
|
607
|
+
self.inUseForOther = inUseForOther
|
|
608
|
+
|
|
609
|
+
def ice_id(self):
|
|
610
|
+
return '::IceMX::ThreadMetrics'
|
|
611
|
+
|
|
612
|
+
@staticmethod
|
|
613
|
+
def ice_staticId():
|
|
614
|
+
return '::IceMX::ThreadMetrics'
|
|
615
|
+
|
|
616
|
+
def __str__(self):
|
|
617
|
+
return IcePy.stringify(self, _M_IceMX._t_ThreadMetrics)
|
|
618
|
+
|
|
619
|
+
__repr__ = __str__
|
|
620
|
+
|
|
621
|
+
_M_IceMX._t_ThreadMetrics = IcePy.defineValue('::IceMX::ThreadMetrics', ThreadMetrics, -1, (), False, False, _M_IceMX._t_Metrics, (
|
|
622
|
+
('inUseForIO', (), IcePy._t_int, False, 0),
|
|
623
|
+
('inUseForUser', (), IcePy._t_int, False, 0),
|
|
624
|
+
('inUseForOther', (), IcePy._t_int, False, 0)
|
|
625
|
+
))
|
|
626
|
+
ThreadMetrics._ice_type = _M_IceMX._t_ThreadMetrics
|
|
627
|
+
|
|
628
|
+
_M_IceMX.ThreadMetrics = ThreadMetrics
|
|
629
|
+
del ThreadMetrics
|
|
630
|
+
|
|
631
|
+
if 'DispatchMetrics' not in _M_IceMX.__dict__:
|
|
632
|
+
_M_IceMX.DispatchMetrics = Ice.createTempClass()
|
|
633
|
+
class DispatchMetrics(_M_IceMX.Metrics):
|
|
634
|
+
"""
|
|
635
|
+
Provides information on servant dispatch.
|
|
636
|
+
Members:
|
|
637
|
+
userException -- The number of dispatch that failed with a user exception.
|
|
638
|
+
size -- The size of the dispatch. This corresponds to the size of the
|
|
639
|
+
marshalled input parameters.
|
|
640
|
+
replySize -- The size of the dispatch reply. This corresponds to the size of
|
|
641
|
+
the marshalled output and return parameters.
|
|
642
|
+
"""
|
|
643
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, userException=0, size=0, replySize=0):
|
|
644
|
+
_M_IceMX.Metrics.__init__(self, id, total, current, totalLifetime, failures)
|
|
645
|
+
self.userException = userException
|
|
646
|
+
self.size = size
|
|
647
|
+
self.replySize = replySize
|
|
648
|
+
|
|
649
|
+
def ice_id(self):
|
|
650
|
+
return '::IceMX::DispatchMetrics'
|
|
651
|
+
|
|
652
|
+
@staticmethod
|
|
653
|
+
def ice_staticId():
|
|
654
|
+
return '::IceMX::DispatchMetrics'
|
|
655
|
+
|
|
656
|
+
def __str__(self):
|
|
657
|
+
return IcePy.stringify(self, _M_IceMX._t_DispatchMetrics)
|
|
658
|
+
|
|
659
|
+
__repr__ = __str__
|
|
660
|
+
|
|
661
|
+
_M_IceMX._t_DispatchMetrics = IcePy.defineValue('::IceMX::DispatchMetrics', DispatchMetrics, -1, (), False, False, _M_IceMX._t_Metrics, (
|
|
662
|
+
('userException', (), IcePy._t_int, False, 0),
|
|
663
|
+
('size', (), IcePy._t_long, False, 0),
|
|
664
|
+
('replySize', (), IcePy._t_long, False, 0)
|
|
665
|
+
))
|
|
666
|
+
DispatchMetrics._ice_type = _M_IceMX._t_DispatchMetrics
|
|
667
|
+
|
|
668
|
+
_M_IceMX.DispatchMetrics = DispatchMetrics
|
|
669
|
+
del DispatchMetrics
|
|
670
|
+
|
|
671
|
+
if 'ChildInvocationMetrics' not in _M_IceMX.__dict__:
|
|
672
|
+
_M_IceMX.ChildInvocationMetrics = Ice.createTempClass()
|
|
673
|
+
class ChildInvocationMetrics(_M_IceMX.Metrics):
|
|
674
|
+
"""
|
|
675
|
+
Provides information on child invocations. A child invocation is
|
|
676
|
+
either remote (sent over an Ice connection) or collocated. An
|
|
677
|
+
invocation can have multiple child invocation if it is
|
|
678
|
+
retried. Child invocation metrics are embedded within
|
|
679
|
+
InvocationMetrics.
|
|
680
|
+
Members:
|
|
681
|
+
size -- The size of the invocation. This corresponds to the size of the
|
|
682
|
+
marshalled input parameters.
|
|
683
|
+
replySize -- The size of the invocation reply. This corresponds to the size
|
|
684
|
+
of the marshalled output and return parameters.
|
|
685
|
+
"""
|
|
686
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0):
|
|
687
|
+
_M_IceMX.Metrics.__init__(self, id, total, current, totalLifetime, failures)
|
|
688
|
+
self.size = size
|
|
689
|
+
self.replySize = replySize
|
|
690
|
+
|
|
691
|
+
def ice_id(self):
|
|
692
|
+
return '::IceMX::ChildInvocationMetrics'
|
|
693
|
+
|
|
694
|
+
@staticmethod
|
|
695
|
+
def ice_staticId():
|
|
696
|
+
return '::IceMX::ChildInvocationMetrics'
|
|
697
|
+
|
|
698
|
+
def __str__(self):
|
|
699
|
+
return IcePy.stringify(self, _M_IceMX._t_ChildInvocationMetrics)
|
|
700
|
+
|
|
701
|
+
__repr__ = __str__
|
|
702
|
+
|
|
703
|
+
_M_IceMX._t_ChildInvocationMetrics = IcePy.defineValue('::IceMX::ChildInvocationMetrics', ChildInvocationMetrics, -1, (), False, False, _M_IceMX._t_Metrics, (
|
|
704
|
+
('size', (), IcePy._t_long, False, 0),
|
|
705
|
+
('replySize', (), IcePy._t_long, False, 0)
|
|
706
|
+
))
|
|
707
|
+
ChildInvocationMetrics._ice_type = _M_IceMX._t_ChildInvocationMetrics
|
|
708
|
+
|
|
709
|
+
_M_IceMX.ChildInvocationMetrics = ChildInvocationMetrics
|
|
710
|
+
del ChildInvocationMetrics
|
|
711
|
+
|
|
712
|
+
if 'CollocatedMetrics' not in _M_IceMX.__dict__:
|
|
713
|
+
_M_IceMX.CollocatedMetrics = Ice.createTempClass()
|
|
714
|
+
class CollocatedMetrics(_M_IceMX.ChildInvocationMetrics):
|
|
715
|
+
"""
|
|
716
|
+
Provides information on invocations that are collocated. Collocated
|
|
717
|
+
metrics are embedded within InvocationMetrics.
|
|
718
|
+
"""
|
|
719
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0):
|
|
720
|
+
_M_IceMX.ChildInvocationMetrics.__init__(self, id, total, current, totalLifetime, failures, size, replySize)
|
|
721
|
+
|
|
722
|
+
def ice_id(self):
|
|
723
|
+
return '::IceMX::CollocatedMetrics'
|
|
724
|
+
|
|
725
|
+
@staticmethod
|
|
726
|
+
def ice_staticId():
|
|
727
|
+
return '::IceMX::CollocatedMetrics'
|
|
728
|
+
|
|
729
|
+
def __str__(self):
|
|
730
|
+
return IcePy.stringify(self, _M_IceMX._t_CollocatedMetrics)
|
|
731
|
+
|
|
732
|
+
__repr__ = __str__
|
|
733
|
+
|
|
734
|
+
_M_IceMX._t_CollocatedMetrics = IcePy.defineValue('::IceMX::CollocatedMetrics', CollocatedMetrics, -1, (), False, False, _M_IceMX._t_ChildInvocationMetrics, ())
|
|
735
|
+
CollocatedMetrics._ice_type = _M_IceMX._t_CollocatedMetrics
|
|
736
|
+
|
|
737
|
+
_M_IceMX.CollocatedMetrics = CollocatedMetrics
|
|
738
|
+
del CollocatedMetrics
|
|
739
|
+
|
|
740
|
+
if 'RemoteMetrics' not in _M_IceMX.__dict__:
|
|
741
|
+
_M_IceMX.RemoteMetrics = Ice.createTempClass()
|
|
742
|
+
class RemoteMetrics(_M_IceMX.ChildInvocationMetrics):
|
|
743
|
+
"""
|
|
744
|
+
Provides information on invocations that are specifically sent over
|
|
745
|
+
Ice connections. Remote metrics are embedded within InvocationMetrics.
|
|
746
|
+
"""
|
|
747
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0):
|
|
748
|
+
_M_IceMX.ChildInvocationMetrics.__init__(self, id, total, current, totalLifetime, failures, size, replySize)
|
|
749
|
+
|
|
750
|
+
def ice_id(self):
|
|
751
|
+
return '::IceMX::RemoteMetrics'
|
|
752
|
+
|
|
753
|
+
@staticmethod
|
|
754
|
+
def ice_staticId():
|
|
755
|
+
return '::IceMX::RemoteMetrics'
|
|
756
|
+
|
|
757
|
+
def __str__(self):
|
|
758
|
+
return IcePy.stringify(self, _M_IceMX._t_RemoteMetrics)
|
|
759
|
+
|
|
760
|
+
__repr__ = __str__
|
|
761
|
+
|
|
762
|
+
_M_IceMX._t_RemoteMetrics = IcePy.defineValue('::IceMX::RemoteMetrics', RemoteMetrics, -1, (), False, False, _M_IceMX._t_ChildInvocationMetrics, ())
|
|
763
|
+
RemoteMetrics._ice_type = _M_IceMX._t_RemoteMetrics
|
|
764
|
+
|
|
765
|
+
_M_IceMX.RemoteMetrics = RemoteMetrics
|
|
766
|
+
del RemoteMetrics
|
|
767
|
+
|
|
768
|
+
if 'InvocationMetrics' not in _M_IceMX.__dict__:
|
|
769
|
+
_M_IceMX.InvocationMetrics = Ice.createTempClass()
|
|
770
|
+
class InvocationMetrics(_M_IceMX.Metrics):
|
|
771
|
+
"""
|
|
772
|
+
Provide measurements for proxy invocations. Proxy invocations can
|
|
773
|
+
either be sent over the wire or be collocated.
|
|
774
|
+
Members:
|
|
775
|
+
retry -- The number of retries for the invocation(s).
|
|
776
|
+
userException -- The number of invocations that failed with a user exception.
|
|
777
|
+
remotes -- The remote invocation metrics map.
|
|
778
|
+
collocated -- The collocated invocation metrics map.
|
|
779
|
+
"""
|
|
780
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, retry=0, userException=0, remotes=None, collocated=None):
|
|
781
|
+
_M_IceMX.Metrics.__init__(self, id, total, current, totalLifetime, failures)
|
|
782
|
+
self.retry = retry
|
|
783
|
+
self.userException = userException
|
|
784
|
+
self.remotes = remotes
|
|
785
|
+
self.collocated = collocated
|
|
786
|
+
|
|
787
|
+
def ice_id(self):
|
|
788
|
+
return '::IceMX::InvocationMetrics'
|
|
789
|
+
|
|
790
|
+
@staticmethod
|
|
791
|
+
def ice_staticId():
|
|
792
|
+
return '::IceMX::InvocationMetrics'
|
|
793
|
+
|
|
794
|
+
def __str__(self):
|
|
795
|
+
return IcePy.stringify(self, _M_IceMX._t_InvocationMetrics)
|
|
796
|
+
|
|
797
|
+
__repr__ = __str__
|
|
798
|
+
|
|
799
|
+
_M_IceMX._t_InvocationMetrics = IcePy.declareValue('::IceMX::InvocationMetrics')
|
|
800
|
+
|
|
801
|
+
_M_IceMX._t_InvocationMetrics = IcePy.defineValue('::IceMX::InvocationMetrics', InvocationMetrics, -1, (), False, False, _M_IceMX._t_Metrics, (
|
|
802
|
+
('retry', (), IcePy._t_int, False, 0),
|
|
803
|
+
('userException', (), IcePy._t_int, False, 0),
|
|
804
|
+
('remotes', (), _M_IceMX._t_MetricsMap, False, 0),
|
|
805
|
+
('collocated', (), _M_IceMX._t_MetricsMap, False, 0)
|
|
806
|
+
))
|
|
807
|
+
InvocationMetrics._ice_type = _M_IceMX._t_InvocationMetrics
|
|
808
|
+
|
|
809
|
+
_M_IceMX.InvocationMetrics = InvocationMetrics
|
|
810
|
+
del InvocationMetrics
|
|
811
|
+
|
|
812
|
+
if 'ConnectionMetrics' not in _M_IceMX.__dict__:
|
|
813
|
+
_M_IceMX.ConnectionMetrics = Ice.createTempClass()
|
|
814
|
+
class ConnectionMetrics(_M_IceMX.Metrics):
|
|
815
|
+
"""
|
|
816
|
+
Provides information on the data sent and received over Ice
|
|
817
|
+
connections.
|
|
818
|
+
Members:
|
|
819
|
+
receivedBytes -- The number of bytes received by the connection.
|
|
820
|
+
sentBytes -- The number of bytes sent by the connection.
|
|
821
|
+
"""
|
|
822
|
+
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, receivedBytes=0, sentBytes=0):
|
|
823
|
+
_M_IceMX.Metrics.__init__(self, id, total, current, totalLifetime, failures)
|
|
824
|
+
self.receivedBytes = receivedBytes
|
|
825
|
+
self.sentBytes = sentBytes
|
|
826
|
+
|
|
827
|
+
def ice_id(self):
|
|
828
|
+
return '::IceMX::ConnectionMetrics'
|
|
829
|
+
|
|
830
|
+
@staticmethod
|
|
831
|
+
def ice_staticId():
|
|
832
|
+
return '::IceMX::ConnectionMetrics'
|
|
833
|
+
|
|
834
|
+
def __str__(self):
|
|
835
|
+
return IcePy.stringify(self, _M_IceMX._t_ConnectionMetrics)
|
|
836
|
+
|
|
837
|
+
__repr__ = __str__
|
|
838
|
+
|
|
839
|
+
_M_IceMX._t_ConnectionMetrics = IcePy.defineValue('::IceMX::ConnectionMetrics', ConnectionMetrics, -1, (), False, False, _M_IceMX._t_Metrics, (
|
|
840
|
+
('receivedBytes', (), IcePy._t_long, False, 0),
|
|
841
|
+
('sentBytes', (), IcePy._t_long, False, 0)
|
|
842
|
+
))
|
|
843
|
+
ConnectionMetrics._ice_type = _M_IceMX._t_ConnectionMetrics
|
|
844
|
+
|
|
845
|
+
_M_IceMX.ConnectionMetrics = ConnectionMetrics
|
|
846
|
+
del ConnectionMetrics
|
|
847
|
+
|
|
848
|
+
# End of module IceMX
|
|
849
|
+
|
|
850
|
+
Ice.sliceChecksums["::IceMX::ChildInvocationMetrics"] = "e8d7639c4944abd2b46e1676712e3914"
|
|
851
|
+
Ice.sliceChecksums["::IceMX::CollocatedMetrics"] = "3249804089f8e0882d12276c8e6d4165"
|
|
852
|
+
Ice.sliceChecksums["::IceMX::ConnectionMetrics"] = "ff705e359a88ff9bc35ab28283c8e29"
|
|
853
|
+
Ice.sliceChecksums["::IceMX::DispatchMetrics"] = "e583ad5ced38253d9ff59929af294ba"
|
|
854
|
+
Ice.sliceChecksums["::IceMX::InvocationMetrics"] = "64216b477afc9431249a60ae5913f8"
|
|
855
|
+
Ice.sliceChecksums["::IceMX::Metrics"] = "94c8036c48f8749deb5f33a364ecee"
|
|
856
|
+
Ice.sliceChecksums["::IceMX::MetricsAdmin"] = "88697f8371c057b7177760281b33a5"
|
|
857
|
+
Ice.sliceChecksums["::IceMX::MetricsFailures"] = "19ecb6e915befa597421fa4c92a1ac"
|
|
858
|
+
Ice.sliceChecksums["::IceMX::MetricsFailuresSeq"] = "a62163545a1a5a54ade5d7d826aac8bd"
|
|
859
|
+
Ice.sliceChecksums["::IceMX::MetricsMap"] = "22667dd9415a83de99a17cf19f63975"
|
|
860
|
+
Ice.sliceChecksums["::IceMX::MetricsView"] = "c8c150b17e594dea2e3c7c2d4738b6"
|
|
861
|
+
Ice.sliceChecksums["::IceMX::RemoteMetrics"] = "1dda65bb856a2c2fcaf32ea2b40682f"
|
|
862
|
+
Ice.sliceChecksums["::IceMX::StringIntDict"] = "e6c7aa764386f6528aa38c89cbff5dd4"
|
|
863
|
+
Ice.sliceChecksums["::IceMX::ThreadMetrics"] = "54ca6eb235a9769ade47e8ae200ff18"
|
|
864
|
+
Ice.sliceChecksums["::IceMX::UnknownMetricsView"] = "18de0c2a8812deb6facfd521d84ba6"
|