/usr/lib/python3/dist-packages/Glacier2_Metrics_ice.py is in python3-zeroc-ice 3.6.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | # -*- coding: utf-8 -*-
# **********************************************************************
#
# Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
#
# Ice version 3.6.3
#
# <auto-generated>
#
# Generated from file `Metrics.ice'
#
# Warning: do not edit this file.
#
# </auto-generated>
#
from sys import version_info as _version_info_
import Ice, IcePy
import Ice_Metrics_ice
# Included module Ice
_M_Ice = Ice.openModule('Ice')
# Included module IceMX
_M_IceMX = Ice.openModule('IceMX')
# Start of module IceMX
__name__ = 'IceMX'
if 'SessionMetrics' not in _M_IceMX.__dict__:
_M_IceMX.SessionMetrics = Ice.createTempClass()
class SessionMetrics(_M_IceMX.Metrics):
"""
Provides information on Glacier2 sessions.
Members:
forwardedClient -- Number of client requests forwared.
forwardedServer -- Number of server requests forwared.
routingTableSize -- The size of the routing table.
queuedClient -- Number of client requests queued.
queuedServer -- Number of server requests queued.
overriddenClient -- Number of client requests overridden.
overriddenServer -- Number of server requests overridden.
"""
def __init__(self, id='', total=0, current=0, totalLifetime=0, failures=0, forwardedClient=0, forwardedServer=0, routingTableSize=0, queuedClient=0, queuedServer=0, overriddenClient=0, overriddenServer=0):
_M_IceMX.Metrics.__init__(self, id, total, current, totalLifetime, failures)
self.forwardedClient = forwardedClient
self.forwardedServer = forwardedServer
self.routingTableSize = routingTableSize
self.queuedClient = queuedClient
self.queuedServer = queuedServer
self.overriddenClient = overriddenClient
self.overriddenServer = overriddenServer
def ice_ids(self, current=None):
return ('::Ice::Object', '::IceMX::Metrics', '::IceMX::SessionMetrics')
def ice_id(self, current=None):
return '::IceMX::SessionMetrics'
def ice_staticId():
return '::IceMX::SessionMetrics'
ice_staticId = staticmethod(ice_staticId)
def __str__(self):
return IcePy.stringify(self, _M_IceMX._t_SessionMetrics)
__repr__ = __str__
_M_IceMX.SessionMetricsPrx = Ice.createTempClass()
class SessionMetricsPrx(_M_IceMX.MetricsPrx):
def checkedCast(proxy, facetOrCtx=None, _ctx=None):
return _M_IceMX.SessionMetricsPrx.ice_checkedCast(proxy, '::IceMX::SessionMetrics', facetOrCtx, _ctx)
checkedCast = staticmethod(checkedCast)
def uncheckedCast(proxy, facet=None):
return _M_IceMX.SessionMetricsPrx.ice_uncheckedCast(proxy, facet)
uncheckedCast = staticmethod(uncheckedCast)
def ice_staticId():
return '::IceMX::SessionMetrics'
ice_staticId = staticmethod(ice_staticId)
_M_IceMX._t_SessionMetricsPrx = IcePy.defineProxy('::IceMX::SessionMetrics', SessionMetricsPrx)
_M_IceMX._t_SessionMetrics = IcePy.defineClass('::IceMX::SessionMetrics', SessionMetrics, -1, (), False, False, _M_IceMX._t_Metrics, (), (
('forwardedClient', (), IcePy._t_int, False, 0),
('forwardedServer', (), IcePy._t_int, False, 0),
('routingTableSize', (), IcePy._t_int, False, 0),
('queuedClient', (), IcePy._t_int, False, 0),
('queuedServer', (), IcePy._t_int, False, 0),
('overriddenClient', (), IcePy._t_int, False, 0),
('overriddenServer', (), IcePy._t_int, False, 0)
))
SessionMetrics._ice_type = _M_IceMX._t_SessionMetrics
_M_IceMX.SessionMetrics = SessionMetrics
del SessionMetrics
_M_IceMX.SessionMetricsPrx = SessionMetricsPrx
del SessionMetricsPrx
# End of module IceMX
Ice.sliceChecksums["::IceMX::SessionMetrics"] = "221020be2c80301fb4dbb779e21b190"
|