16#ifndef __Ice_Metrics_h__
17#define __Ice_Metrics_h__
39#ifndef ICE_IGNORE_VERSION
40# if ICE_INT_VERSION / 100 != 307
41# error Ice version mismatch!
43# if ICE_INT_VERSION % 100 >= 50
44# error Beta header file detected
46# if ICE_INT_VERSION % 100 < 11
47# error Ice patch level mismatch!
52# if defined(ICE_STATIC_LIBS)
54# elif defined(ICE_API_EXPORTS)
55# define ICE_API ICE_DECLSPEC_EXPORT
57# define ICE_API ICE_DECLSPEC_IMPORT
61#ifdef ICE_CPP11_MAPPING
108 std::tuple<const ::std::string&, const ::IceMX::StringIntDict&> ice_tuple()
const
125using MetricsMap = ::std::vector<::std::shared_ptr<Metrics>>;
131using MetricsView = ::std::map<::std::string, MetricsMap>;
137class ICE_CLASS(ICE_API) UnknownMetricsView :
public ::Ice::UserExceptionHelper<UnknownMetricsView, ::Ice::UserException>
143 UnknownMetricsView(
const UnknownMetricsView&) =
default;
145 UnknownMetricsView() =
default;
151 std::tuple<> ice_tuple()
const
164static UnknownMetricsView _iceS_UnknownMetricsView_init;
168using Ice::operator<=;
170using Ice::operator>=;
171using Ice::operator==;
172using Ice::operator!=;
198 virtual bool ice_isA(::std::string
id, const ::Ice::Current& current)
const override;
205 virtual ::std::vector<::std::string> ice_ids(const ::Ice::Current& current)
const override;
212 virtual ::std::string ice_id(const ::Ice::Current& current)
const override;
218 static const ::std::string& ice_staticId();
223 struct GetMetricsViewNamesResult
237 virtual ::Ice::StringSeq getMetricsViewNames(
::Ice::StringSeq& disabledViews, const ::Ice::Current& current) = 0;
239 bool _iceD_getMetricsViewNames(::IceInternal::Incoming&, const ::Ice::Current&);
249 virtual void enableMetricsView(::std::string name, const ::Ice::Current& current) = 0;
251 bool _iceD_enableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
261 virtual void disableMetricsView(::std::string name, const ::Ice::Current& current) = 0;
263 bool _iceD_disableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
269 struct GetMetricsViewResult
274 long long int timestamp;
291 virtual MetricsView getMetricsView(::std::string view,
long long int& timestamp, const ::Ice::Current& current) = 0;
293 bool _iceD_getMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
305 virtual MetricsFailuresSeq getMapMetricsFailures(::std::string view, ::std::string map, const ::Ice::Current& current) = 0;
307 bool _iceD_getMapMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
320 virtual MetricsFailures getMetricsFailures(::std::string view, ::std::string map, ::std::string
id, const ::Ice::Current& current) = 0;
322 bool _iceD_getMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
326 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&)
override;
340class ICE_CLASS(ICE_API) Metrics :
public ::Ice::ValueHelper<Metrics, ::Ice::Value>
348 Metrics(
const Metrics&) =
default;
349 Metrics(Metrics&&) =
default;
350 Metrics& operator=(
const Metrics&) =
default;
351 Metrics& operator=(Metrics&&) =
default;
361 Metrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures) :
365 totalLifetime(totalLifetime),
374 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&> ice_tuple()
const
376 return std::tie(
id, total, current, totalLifetime, failures);
394 long long int total = 0LL;
404 long long int totalLifetime = 0LL;
412static Metrics _iceS_Metrics_init;
420class ICE_CLASS(ICE_API) ThreadMetrics :
public ::Ice::ValueHelper<ThreadMetrics, Metrics>
426 ThreadMetrics() =
default;
428 ThreadMetrics(
const ThreadMetrics&) =
default;
429 ThreadMetrics(ThreadMetrics&&) =
default;
430 ThreadMetrics& operator=(
const ThreadMetrics&) =
default;
431 ThreadMetrics& operator=(ThreadMetrics&&) =
default;
444 ThreadMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
int inUseForIO,
int inUseForUser,
int inUseForOther) :
445 Ice::ValueHelper<ThreadMetrics, Metrics>(id, total, current, totalLifetime, failures),
446 inUseForIO(inUseForIO),
447 inUseForUser(inUseForUser),
448 inUseForOther(inUseForOther)
456 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const int&> ice_tuple()
const
458 return std::tie(
id, total, current, totalLifetime, failures, inUseForIO, inUseForUser, inUseForOther);
476 int inUseForUser = 0;
483 int inUseForOther = 0;
490class ICE_CLASS(ICE_API) DispatchMetrics :
public ::Ice::ValueHelper<DispatchMetrics, Metrics>
496 DispatchMetrics() =
default;
498 DispatchMetrics(
const DispatchMetrics&) =
default;
499 DispatchMetrics(DispatchMetrics&&) =
default;
500 DispatchMetrics& operator=(
const DispatchMetrics&) =
default;
501 DispatchMetrics& operator=(DispatchMetrics&&) =
default;
514 DispatchMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
int userException,
long long int size,
long long int replySize) :
515 Ice::ValueHelper<DispatchMetrics, Metrics>(id, total, current, totalLifetime, failures),
516 userException(userException),
526 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const long long int&, const long long int&> ice_tuple()
const
528 return std::tie(
id, total, current, totalLifetime, failures, userException, size, replySize);
540 int userException = 0;
545 long long int size = 0LL;
550 long long int replySize = 0LL;
561class ICE_CLASS(ICE_API) ChildInvocationMetrics :
public ::Ice::ValueHelper<ChildInvocationMetrics, Metrics>
567 ChildInvocationMetrics() =
default;
569 ChildInvocationMetrics(
const ChildInvocationMetrics&) =
default;
570 ChildInvocationMetrics(ChildInvocationMetrics&&) =
default;
571 ChildInvocationMetrics& operator=(
const ChildInvocationMetrics&) =
default;
572 ChildInvocationMetrics& operator=(ChildInvocationMetrics&&) =
default;
584 ChildInvocationMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
long long int size,
long long int replySize) :
585 Ice::ValueHelper<ChildInvocationMetrics, Metrics>(id, total, current, totalLifetime, failures),
595 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple()
const
597 return std::tie(
id, total, current, totalLifetime, failures, size, replySize);
610 long long int size = 0LL;
615 long long int replySize = 0LL;
623class ICE_CLASS(ICE_API) CollocatedMetrics :
public ::Ice::ValueHelper<CollocatedMetrics, ChildInvocationMetrics>
629 CollocatedMetrics() =
default;
631 CollocatedMetrics(
const CollocatedMetrics&) =
default;
632 CollocatedMetrics(CollocatedMetrics&&) =
default;
633 CollocatedMetrics& operator=(
const CollocatedMetrics&) =
default;
634 CollocatedMetrics& operator=(CollocatedMetrics&&) =
default;
646 CollocatedMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
long long int size,
long long int replySize) :
647 Ice::ValueHelper<CollocatedMetrics, ChildInvocationMetrics>(id, total, current, totalLifetime, failures, size, replySize)
655 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple()
const
657 return std::tie(
id, total, current, totalLifetime, failures, size, replySize);
672class ICE_CLASS(ICE_API) RemoteMetrics :
public ::Ice::ValueHelper<RemoteMetrics, ChildInvocationMetrics>
678 RemoteMetrics() =
default;
680 RemoteMetrics(
const RemoteMetrics&) =
default;
681 RemoteMetrics(RemoteMetrics&&) =
default;
682 RemoteMetrics& operator=(
const RemoteMetrics&) =
default;
683 RemoteMetrics& operator=(RemoteMetrics&&) =
default;
695 RemoteMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
long long int size,
long long int replySize) :
696 Ice::ValueHelper<RemoteMetrics, ChildInvocationMetrics>(id, total, current, totalLifetime, failures, size, replySize)
704 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple()
const
706 return std::tie(
id, total, current, totalLifetime, failures, size, replySize);
721class ICE_CLASS(ICE_API) InvocationMetrics :
public ::Ice::ValueHelper<InvocationMetrics, Metrics>
727 InvocationMetrics() =
default;
729 InvocationMetrics(
const InvocationMetrics&) =
default;
730 InvocationMetrics(InvocationMetrics&&) =
default;
731 InvocationMetrics& operator=(
const InvocationMetrics&) =
default;
732 InvocationMetrics& operator=(InvocationMetrics&&) =
default;
746 InvocationMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
int retry,
int userException, const ::IceMX::MetricsMap& remotes, const ::IceMX::MetricsMap& collocated) :
747 Ice::ValueHelper<InvocationMetrics, Metrics>(id, total, current, totalLifetime, failures),
749 userException(userException),
751 collocated(collocated)
759 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const int&, const int&, const ::IceMX::MetricsMap&, const ::IceMX::MetricsMap&> ice_tuple()
const
761 return std::tie(
id, total, current, totalLifetime, failures, retry, userException, remotes, collocated);
777 int userException = 0;
795class ICE_CLASS(ICE_API) ConnectionMetrics :
public ::Ice::ValueHelper<ConnectionMetrics, Metrics>
801 ConnectionMetrics() =
default;
803 ConnectionMetrics(
const ConnectionMetrics&) =
default;
804 ConnectionMetrics(ConnectionMetrics&&) =
default;
805 ConnectionMetrics& operator=(
const ConnectionMetrics&) =
default;
806 ConnectionMetrics& operator=(ConnectionMetrics&&) =
default;
818 ConnectionMetrics(const ::std::string&
id,
long long int total,
int current,
long long int totalLifetime,
int failures,
long long int receivedBytes,
long long int sentBytes) :
819 Ice::ValueHelper<ConnectionMetrics, Metrics>(id, total, current, totalLifetime, failures),
820 receivedBytes(receivedBytes),
829 std::tuple<const ::std::string&, const long long int&, const int&, const long long int&, const int&, const long long int&, const long long int&> ice_tuple()
const
831 return std::tie(
id, total, current, totalLifetime, failures, receivedBytes, sentBytes);
843 long long int receivedBytes = 0LL;
847 long long int sentBytes = 0LL;
862class ICE_CLASS(ICE_API)
MetricsAdminPrx :
public virtual ::Ice::Proxy<MetricsAdminPrx, ::Ice::ObjectPrx>
874 auto _result = _makePromiseOutgoing<MetricsAdmin::GetMetricsViewNamesResult>(
true,
this, &MetricsAdminPrx::_iceI_getMetricsViewNames, context).
get();
875 disabledViews = ::std::move(_result.disabledViews);
876 return ::std::move(_result.returnValue);
884 template<
template<
typename>
class P = ::std::promise>
886 ->
decltype(::std::declval<P<MetricsAdmin::GetMetricsViewNamesResult>>().get_future())
888 return _makePromiseOutgoing<MetricsAdmin::GetMetricsViewNamesResult, P>(
false,
this, &MetricsAdminPrx::_iceI_getMetricsViewNames, context);
899 ::std::function<void()>
901 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
902 ::std::function<
void(
bool)> sent =
nullptr,
905 auto _responseCb = [response](MetricsAdmin::GetMetricsViewNamesResult&& _result)
907 response(::std::move(_result.returnValue), ::std::move(_result.disabledViews));
909 return _makeLambdaOutgoing<MetricsAdmin::GetMetricsViewNamesResult>(std::move(_responseCb), std::move(ex), std::move(sent),
this, &IceMX::MetricsAdminPrx::_iceI_getMetricsViewNames, context);
913 ICE_MEMBER(
ICE_API)
void _iceI_getMetricsViewNames(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<MetricsAdmin::GetMetricsViewNamesResult>>&, const ::Ice::Context&);
925 _makePromiseOutgoing<void>(
true,
this, &MetricsAdminPrx::_iceI_enableMetricsView, name, context).get();
934 template<
template<
typename>
class P = ::std::promise>
936 ->
decltype(::std::declval<P<void>>().get_future())
938 return _makePromiseOutgoing<void, P>(
false,
this, &MetricsAdminPrx::_iceI_enableMetricsView, name, context);
950 ::std::function<void()>
951 enableMetricsViewAsync(const ::std::string& name,
952 ::std::function<
void()> response,
953 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
954 ::std::function<
void(
bool)> sent =
nullptr,
957 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceMX::MetricsAdminPrx::_iceI_enableMetricsView, name, context);
961 ICE_MEMBER(
ICE_API)
void _iceI_enableMetricsView(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
973 _makePromiseOutgoing<void>(
true,
this, &MetricsAdminPrx::_iceI_disableMetricsView, name, context).get();
982 template<
template<
typename>
class P = ::std::promise>
984 ->
decltype(::std::declval<P<void>>().get_future())
986 return _makePromiseOutgoing<void, P>(
false,
this, &MetricsAdminPrx::_iceI_disableMetricsView, name, context);
998 ::std::function<void()>
999 disableMetricsViewAsync(const ::std::string& name,
1000 ::std::function<
void()> response,
1001 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1002 ::std::function<
void(
bool)> sent =
nullptr,
1005 return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent),
this, &IceMX::MetricsAdminPrx::_iceI_disableMetricsView, name, context);
1009 ICE_MEMBER(
ICE_API)
void _iceI_disableMetricsView(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<void>>&, const ::std::string&, const ::Ice::Context&);
1028 auto _result = _makePromiseOutgoing<MetricsAdmin::GetMetricsViewResult>(
true,
this, &MetricsAdminPrx::_iceI_getMetricsView, view, context).get();
1029 timestamp = _result.timestamp;
1030 return ::std::move(_result.returnValue);
1043 template<
template<
typename>
class P = ::std::promise>
1045 ->
decltype(::std::declval<P<MetricsAdmin::GetMetricsViewResult>>().get_future())
1047 return _makePromiseOutgoing<MetricsAdmin::GetMetricsViewResult, P>(
false,
this, &MetricsAdminPrx::_iceI_getMetricsView, view, context);
1063 ::std::function<void()>
1064 getMetricsViewAsync(const ::std::string& view,
1066 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1067 ::std::function<
void(
bool)> sent =
nullptr,
1070 auto _responseCb = [response](MetricsAdmin::GetMetricsViewResult&& _result)
1072 response(::std::move(_result.returnValue), _result.timestamp);
1074 return _makeLambdaOutgoing<MetricsAdmin::GetMetricsViewResult>(std::move(_responseCb), std::move(ex), std::move(sent),
this, &IceMX::MetricsAdminPrx::_iceI_getMetricsView, view, context);
1078 ICE_MEMBER(
ICE_API)
void _iceI_getMetricsView(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<MetricsAdmin::GetMetricsViewResult>>&, const ::std::string&, const ::Ice::Context&);
1092 return _makePromiseOutgoing<::IceMX::MetricsFailuresSeq>(
true,
this, &MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context).get();
1102 template<
template<
typename>
class P = ::std::promise>
1103 auto getMapMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::Ice::Context& context =
::Ice::noExplicitContext)
1104 ->
decltype(::std::declval<P<::IceMX::MetricsFailuresSeq>>().get_future())
1106 return _makePromiseOutgoing<::IceMX::MetricsFailuresSeq, P>(
false,
this, &MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context);
1119 ::std::function<void()>
1120 getMapMetricsFailuresAsync(const ::std::string& view, const ::std::string& map,
1122 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1123 ::std::function<
void(
bool)> sent =
nullptr,
1126 return _makeLambdaOutgoing<::IceMX::MetricsFailuresSeq>(std::move(response), std::move(ex), std::move(sent),
this, &IceMX::MetricsAdminPrx::_iceI_getMapMetricsFailures, view, map, context);
1130 ICE_MEMBER(
ICE_API)
void _iceI_getMapMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceMX::MetricsFailuresSeq>>&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
1143 MetricsFailures getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string&
id, const ::Ice::Context& context =
::Ice::noExplicitContext)
1145 return _makePromiseOutgoing<::IceMX::MetricsFailures>(
true,
this, &MetricsAdminPrx::_iceI_getMetricsFailures, view, map,
id, context).get();
1156 template<
template<
typename>
class P = ::std::promise>
1157 auto getMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::std::string&
id, const ::Ice::Context& context =
::Ice::noExplicitContext)
1158 ->
decltype(::std::declval<P<::IceMX::MetricsFailures>>().get_future())
1160 return _makePromiseOutgoing<::IceMX::MetricsFailures, P>(
false,
this, &MetricsAdminPrx::_iceI_getMetricsFailures, view, map,
id, context);
1174 ::std::function<void()>
1175 getMetricsFailuresAsync(const ::std::string& view, const ::std::string& map, const ::std::string&
id,
1176 ::std::function<
void(::IceMX::MetricsFailures)> response,
1177 ::std::function<
void(::std::exception_ptr)> ex =
nullptr,
1178 ::std::function<
void(
bool)> sent =
nullptr,
1181 return _makeLambdaOutgoing<::IceMX::MetricsFailures>(std::move(response), std::move(ex), std::move(sent),
this, &IceMX::MetricsAdminPrx::_iceI_getMetricsFailures, view, map,
id, context);
1185 ICE_MEMBER(
ICE_API)
void _iceI_getMetricsFailures(const ::std::shared_ptr<::IceInternal::OutgoingAsyncT<::IceMX::MetricsFailures>>&, const ::std::string&, const ::std::string&, const ::std::string&, const ::Ice::Context&);
1198 friend ::std::shared_ptr<MetricsAdminPrx> IceInternal::createProxy<MetricsAdminPrx>();
1200 ICE_MEMBER(
ICE_API) virtual ::std::shared_ptr<::Ice::ObjectPrx> _newInstance()
const override;
1211struct StreamReader<::IceMX::Metrics, S>
1213 static void read(S* istr, ::IceMX::Metrics& v)
1220struct StreamableTraits<::IceMX::MetricsFailures>
1222 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
1223 static const int minWireSize = 2;
1224 static const bool fixedLength =
false;
1228struct StreamReader<::IceMX::MetricsFailures, S>
1230 static void read(S* istr, ::IceMX::MetricsFailures& v)
1237struct StreamWriter<::IceMX::ThreadMetrics, S>
1239 static void write(S* ostr, const ::IceMX::ThreadMetrics& v)
1241 ostr->writeAll(v.inUseForIO, v.inUseForUser, v.inUseForOther);
1246struct StreamReader<::IceMX::ThreadMetrics, S>
1248 static void read(S* istr, ::IceMX::ThreadMetrics& v)
1255struct StreamWriter<::IceMX::DispatchMetrics, S>
1257 static void write(S* ostr, const ::IceMX::DispatchMetrics& v)
1259 ostr->writeAll(v.userException, v.size, v.replySize);
1264struct StreamReader<::IceMX::DispatchMetrics, S>
1266 static void read(S* istr, ::IceMX::DispatchMetrics& v)
1273struct StreamWriter<::IceMX::ChildInvocationMetrics, S>
1275 static void write(S* ostr, const ::IceMX::ChildInvocationMetrics& v)
1277 ostr->writeAll(v.size, v.replySize);
1282struct StreamReader<::IceMX::ChildInvocationMetrics, S>
1284 static void read(S* istr, ::IceMX::ChildInvocationMetrics& v)
1291struct StreamWriter<::IceMX::CollocatedMetrics, S>
1293 static void write(S*, const ::IceMX::CollocatedMetrics&)
1299struct StreamReader<::IceMX::CollocatedMetrics, S>
1301 static void read(S*, ::IceMX::CollocatedMetrics&)
1307struct StreamWriter<::IceMX::RemoteMetrics, S>
1309 static void write(S*, const ::IceMX::RemoteMetrics&)
1315struct StreamReader<::IceMX::RemoteMetrics, S>
1317 static void read(S*, ::IceMX::RemoteMetrics&)
1323struct StreamWriter<::IceMX::InvocationMetrics, S>
1325 static void write(S* ostr, const ::IceMX::InvocationMetrics& v)
1327 ostr->writeAll(v.retry, v.userException, v.remotes, v.collocated);
1332struct StreamReader<::IceMX::InvocationMetrics, S>
1334 static void read(S* istr, ::IceMX::InvocationMetrics& v)
1341struct StreamWriter<::IceMX::ConnectionMetrics, S>
1343 static void write(S* ostr, const ::IceMX::ConnectionMetrics& v)
1345 ostr->writeAll(v.receivedBytes, v.sentBytes);
1350struct StreamReader<::IceMX::ConnectionMetrics, S>
1352 static void read(S* istr, ::IceMX::ConnectionMetrics& v)
1365using MetricsPtr = ::std::shared_ptr<Metrics>;
1397ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< Metrics>&);
1403ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< MetricsAdmin>&);
1409ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ThreadMetrics>&);
1415ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< DispatchMetrics>&);
1421ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ChildInvocationMetrics>&);
1427ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< CollocatedMetrics>&);
1433ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< RemoteMetrics>&);
1439ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< InvocationMetrics>&);
1445ICE_API void _readProxy(::Ice::InputStream*, ::IceInternal::ProxyHandle< ConnectionMetrics>&);
1461typedef ::IceInternal::ProxyHandle< ::IceProxy::IceMX::Metrics>
MetricsPrx;
1612#ifdef ICE_CPP11_COMPILER
1736 return end_getMetricsViewNames(disabledViews, _iceI_begin_getMetricsViewNames(context, ::IceInternal::dummyCallback, 0,
true));
1746 return _iceI_begin_getMetricsViewNames(context, ::IceInternal::dummyCallback, 0);
1769 return _iceI_begin_getMetricsViewNames(context, cb, cookie);
1792 return _iceI_begin_getMetricsViewNames(context, cb, cookie);
1809 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_getMetricsViewNames(const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1822 end_enableMetricsView(_iceI_begin_enableMetricsView(name, context, ::IceInternal::dummyCallback, 0,
true));
1833 return _iceI_begin_enableMetricsView(name, context, ::IceInternal::dummyCallback, 0);
1858 return _iceI_begin_enableMetricsView(name, context, cb, cookie);
1883 return _iceI_begin_enableMetricsView(name, context, cb, cookie);
1896 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_enableMetricsView(const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
1909 end_disableMetricsView(_iceI_begin_disableMetricsView(name, context, ::IceInternal::dummyCallback, 0,
true));
1920 return _iceI_begin_disableMetricsView(name, context, ::IceInternal::dummyCallback, 0);
1945 return _iceI_begin_disableMetricsView(name, context, cb, cookie);
1970 return _iceI_begin_disableMetricsView(name, context, cb, cookie);
1983 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_disableMetricsView(const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2003 return end_getMetricsView(timestamp, _iceI_begin_getMetricsView(view, context, ::IceInternal::dummyCallback, 0,
true));
2018 return _iceI_begin_getMetricsView(view, context, ::IceInternal::dummyCallback, 0);
2051 return _iceI_begin_getMetricsView(view, context, cb, cookie);
2084 return _iceI_begin_getMetricsView(view, context, cb, cookie);
2104 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_getMetricsView(const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2119 return end_getMapMetricsFailures(_iceI_begin_getMapMetricsFailures(view, map, context, ::IceInternal::dummyCallback, 0,
true));
2131 return _iceI_begin_getMapMetricsFailures(view, map, context, ::IceInternal::dummyCallback, 0);
2158 return _iceI_begin_getMapMetricsFailures(view, map, context, cb, cookie);
2185 return _iceI_begin_getMapMetricsFailures(view, map, context, cb, cookie);
2199 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_getMapMetricsFailures(const ::std::string&, const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2215 return end_getMetricsFailures(_iceI_begin_getMetricsFailures(view, map,
id, context, ::IceInternal::dummyCallback, 0,
true));
2228 return _iceI_begin_getMetricsFailures(view, map,
id, context, ::IceInternal::dummyCallback, 0);
2257 return _iceI_begin_getMetricsFailures(view, map,
id, context, cb, cookie);
2284 ::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string& view, const ::std::string& map, const ::std::string&
id, const ::Ice::Context& context, const ::IceMX::Callback_MetricsAdmin_getMetricsFailuresPtr& cb, const ::Ice::LocalObjectPtr& cookie = 0)
2286 return _iceI_begin_getMetricsFailures(view, map,
id, context, cb, cookie);
2300 ICE_MEMBER(
ICE_API) ::
Ice::AsyncResultPtr _iceI_begin_getMetricsFailures(const ::std::string&, const ::std::string&, const ::std::string&, const ::
Ice::Context&, const ::IceInternal::CallbackBasePtr&, const ::
Ice::LocalObjectPtr& cookie = 0, bool sync = false);
2483#ifdef ICE_CPP11_COMPILER
2572inline bool operator<(
const Metrics& lhs,
const Metrics& rhs)
2594#ifdef ICE_CPP11_COMPILER
2636 bool _iceD_getMetricsViewNames(::IceInternal::Incoming&, const ::Ice::Current&);
2648 bool _iceD_enableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
2660 bool _iceD_disableMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
2679 bool _iceD_getMetricsView(::IceInternal::Incoming&, const ::Ice::Current&);
2693 bool _iceD_getMapMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
2708 bool _iceD_getMetricsFailures(::IceInternal::Incoming&, const ::Ice::Current&);
2712 virtual bool _iceDispatch(::IceInternal::Incoming&, const ::Ice::Current&);
2729inline bool operator<(
const MetricsAdmin& lhs,
const MetricsAdmin& rhs)
2776#ifdef ICE_CPP11_COMPILER
2858inline bool operator<(
const ThreadMetrics& lhs,
const ThreadMetrics& rhs)
2904#ifdef ICE_CPP11_COMPILER
2983inline bool operator<(
const DispatchMetrics& lhs,
const DispatchMetrics& rhs)
3030#ifdef ICE_CPP11_COMPILER
3105inline bool operator<(
const ChildInvocationMetrics& lhs,
const ChildInvocationMetrics& rhs)
3144#ifdef ICE_CPP11_COMPILER
3206inline bool operator<(
const CollocatedMetrics& lhs,
const CollocatedMetrics& rhs)
3245#ifdef ICE_CPP11_COMPILER
3307inline bool operator<(
const RemoteMetrics& lhs,
const RemoteMetrics& rhs)
3355#ifdef ICE_CPP11_COMPILER
3394 virtual void _iceGcVisitMembers(::IceInternal::GCVisitor&);
3441inline bool operator<(
const InvocationMetrics& lhs,
const InvocationMetrics& rhs)
3485#ifdef ICE_CPP11_COMPILER
3558inline bool operator<(
const ConnectionMetrics& lhs,
const ConnectionMetrics& rhs)
3571struct StreamWriter< ::IceMX::Metrics, S>
3573 static void write(S* ostr, const ::IceMX::Metrics& v)
3576 ostr->write(v.total);
3577 ostr->write(v.current);
3578 ostr->write(v.totalLifetime);
3579 ostr->write(v.failures);
3584struct StreamReader< ::IceMX::Metrics, S>
3586 static void read(S* istr, ::IceMX::Metrics& v)
3589 istr->read(v.
total);
3597struct StreamableTraits< ::IceMX::MetricsFailures>
3599 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
3600 static const int minWireSize = 2;
3601 static const bool fixedLength =
false;
3605struct StreamWriter< ::IceMX::MetricsFailures, S>
3607 static void write(S* ostr, const ::IceMX::MetricsFailures& v)
3610 ostr->write(v.failures);
3615struct StreamReader< ::IceMX::MetricsFailures, S>
3617 static void read(S* istr, ::IceMX::MetricsFailures& v)
3625struct StreamableTraits< ::IceMX::UnknownMetricsView>
3627 static const StreamHelperCategory helper = StreamHelperCategoryUserException;
3631struct StreamWriter< ::IceMX::ThreadMetrics, S>
3633 static void write(S* ostr, const ::IceMX::ThreadMetrics& v)
3635 ostr->write(v.inUseForIO);
3636 ostr->write(v.inUseForUser);
3637 ostr->write(v.inUseForOther);
3642struct StreamReader< ::IceMX::ThreadMetrics, S>
3644 static void read(S* istr, ::IceMX::ThreadMetrics& v)
3653struct StreamWriter< ::IceMX::DispatchMetrics, S>
3655 static void write(S* ostr, const ::IceMX::DispatchMetrics& v)
3657 ostr->write(v.userException);
3658 ostr->write(v.size);
3659 ostr->write(v.replySize);
3664struct StreamReader< ::IceMX::DispatchMetrics, S>
3666 static void read(S* istr, ::IceMX::DispatchMetrics& v)
3675struct StreamWriter< ::IceMX::ChildInvocationMetrics, S>
3677 static void write(S* ostr, const ::IceMX::ChildInvocationMetrics& v)
3679 ostr->write(v.size);
3680 ostr->write(v.replySize);
3685struct StreamReader< ::IceMX::ChildInvocationMetrics, S>
3687 static void read(S* istr, ::IceMX::ChildInvocationMetrics& v)
3695struct StreamWriter< ::IceMX::InvocationMetrics, S>
3697 static void write(S* ostr, const ::IceMX::InvocationMetrics& v)
3699 ostr->write(v.retry);
3700 ostr->write(v.userException);
3701 ostr->write(v.remotes);
3702 ostr->write(v.collocated);
3707struct StreamReader< ::IceMX::InvocationMetrics, S>
3709 static void read(S* istr, ::IceMX::InvocationMetrics& v)
3711 istr->read(v.
retry);
3719struct StreamWriter< ::IceMX::ConnectionMetrics, S>
3721 static void write(S* ostr, const ::IceMX::ConnectionMetrics& v)
3723 ostr->write(v.receivedBytes);
3724 ostr->write(v.sentBytes);
3729struct StreamReader< ::IceMX::ConnectionMetrics, S>
3731 static void read(S* istr, ::IceMX::ConnectionMetrics& v)
3758 typedef void (T::*
Response)(const ::Ice::StringSeq&, const ::Ice::StringSeq&);
3761 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3766 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3768 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
3773 ret = proxy->end_getMetricsViewNames(iceP_disabledViews, result);
3775 catch(const ::Ice::Exception& ex)
3777 ::IceInternal::CallbackNC<T>::exception(result, ex);
3782 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret, iceP_disabledViews);
3814template<
class T> Callback_MetricsAdmin_getMetricsViewNamesPtr
3825template<
class T,
typename CT>
3832 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
3833 typedef void (T::*
Sent)(bool ,
const CT&);
3834 typedef void (T::*
Response)(const ::Ice::StringSeq&, const ::Ice::StringSeq&,
const CT&);
3837 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
3842 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3844 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
3849 ret = proxy->end_getMetricsViewNames(iceP_disabledViews, result);
3851 catch(const ::Ice::Exception& ex)
3853 ::IceInternal::Callback<T, CT>::exception(result, ex);
3858 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, iceP_disabledViews, CT::dynamicCast(result->getCookie()));
3892template<
class T,
typename CT> Callback_MetricsAdmin_getMetricsViewNamesPtr
3915 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
3920 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
3922 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
3925 proxy->end_enableMetricsView(result);
3927 catch(const ::Ice::Exception& ex)
3929 ::IceInternal::CallbackNC<T>::exception(result, ex);
3934 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
3965template<
class T> Callback_MetricsAdmin_enableMetricsViewPtr
3979template<
class T> Callback_MetricsAdmin_enableMetricsViewPtr
3992template<
class T> Callback_MetricsAdmin_enableMetricsViewPtr
4003template<
class T,
typename CT>
4010 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
4011 typedef void (T::*
Sent)(bool ,
const CT&);
4015 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4020 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4022 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4025 proxy->end_enableMetricsView(result);
4027 catch(const ::Ice::Exception& ex)
4029 ::IceInternal::Callback<T, CT>::exception(result, ex);
4034 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
4067template<
class T,
typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4082template<
class T,
typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4096template<
class T,
typename CT> Callback_MetricsAdmin_enableMetricsViewPtr
4119 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4124 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4126 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4129 proxy->end_disableMetricsView(result);
4131 catch(const ::Ice::Exception& ex)
4133 ::IceInternal::CallbackNC<T>::exception(result, ex);
4138 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)();
4169template<
class T> Callback_MetricsAdmin_disableMetricsViewPtr
4183template<
class T> Callback_MetricsAdmin_disableMetricsViewPtr
4196template<
class T> Callback_MetricsAdmin_disableMetricsViewPtr
4207template<
class T,
typename CT>
4214 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
4215 typedef void (T::*
Sent)(bool ,
const CT&);
4219 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4224 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4226 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4229 proxy->end_disableMetricsView(result);
4231 catch(const ::Ice::Exception& ex)
4233 ::IceInternal::Callback<T, CT>::exception(result, ex);
4238 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(CT::dynamicCast(result->getCookie()));
4271template<
class T,
typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4286template<
class T,
typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4300template<
class T,
typename CT> Callback_MetricsAdmin_disableMetricsViewPtr
4323 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4328 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4330 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4335 ret = proxy->end_getMetricsView(iceP_timestamp, result);
4337 catch(const ::Ice::Exception& ex)
4339 ::IceInternal::CallbackNC<T>::exception(result, ex);
4344 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret, iceP_timestamp);
4376template<
class T> Callback_MetricsAdmin_getMetricsViewPtr
4387template<
class T,
typename CT>
4394 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
4395 typedef void (T::*
Sent)(bool ,
const CT&);
4399 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4404 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4406 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4411 ret = proxy->end_getMetricsView(iceP_timestamp, result);
4413 catch(const ::Ice::Exception& ex)
4415 ::IceInternal::Callback<T, CT>::exception(result, ex);
4420 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, iceP_timestamp, CT::dynamicCast(result->getCookie()));
4454template<
class T,
typename CT> Callback_MetricsAdmin_getMetricsViewPtr
4477 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4482 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4484 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4488 ret = proxy->end_getMapMetricsFailures(result);
4490 catch(const ::Ice::Exception& ex)
4492 ::IceInternal::CallbackNC<T>::exception(result, ex);
4497 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4529template<
class T> Callback_MetricsAdmin_getMapMetricsFailuresPtr
4540template<
class T,
typename CT>
4547 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
4548 typedef void (T::*
Sent)(bool ,
const CT&);
4552 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4557 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4559 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4563 ret = proxy->end_getMapMetricsFailures(result);
4565 catch(const ::Ice::Exception& ex)
4567 ::IceInternal::Callback<T, CT>::exception(result, ex);
4572 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4606template<
class T,
typename CT> Callback_MetricsAdmin_getMapMetricsFailuresPtr
4629 : ::IceInternal::TwowayCallbackNC<T>(obj, cb != 0, excb, sentcb), _response(cb)
4634 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4636 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4640 ret = proxy->end_getMetricsFailures(result);
4642 catch(const ::Ice::Exception& ex)
4644 ::IceInternal::CallbackNC<T>::exception(result, ex);
4649 (::IceInternal::CallbackNC<T>::_callback.get()->*_response)(ret);
4681template<
class T> Callback_MetricsAdmin_getMetricsFailuresPtr
4692template<
class T,
typename CT>
4699 typedef void (T::*
Exception)(const ::Ice::Exception& ,
const CT&);
4700 typedef void (T::*
Sent)(bool ,
const CT&);
4704 : ::IceInternal::TwowayCallback<T, CT>(obj, cb != 0, excb, sentcb), _response(cb)
4709 virtual void completed(const ::Ice::AsyncResultPtr& result)
const
4711 MetricsAdminPrx proxy = MetricsAdminPrx::uncheckedCast(result->getProxy());
4715 ret = proxy->end_getMetricsFailures(result);
4717 catch(const ::Ice::Exception& ex)
4719 ::IceInternal::Callback<T, CT>::exception(result, ex);
4724 (::IceInternal::Callback<T, CT>::_callback.get()->*_response)(ret, CT::dynamicCast(result->getCookie()));
4758template<
class T,
typename CT> Callback_MetricsAdmin_getMetricsFailuresPtr
#define ICE_INT64(n)
Definition Config.h:343
#define ICE_API
Definition Config.h:197
#define ICE_MEMBER(API)
Definition Config.h:177
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceMX::MetricsAdmin::begin_...
Definition Metrics.h:4109
void(T::* Response)()
Definition Metrics.h:4116
IceUtil::Handle< T > TPtr
Definition Metrics.h:4112
void(T::* Exception)(const ::Ice::Exception &)
Definition Metrics.h:4114
CallbackNC_MetricsAdmin_disableMetricsView(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4118
void(T::* Sent)(bool)
Definition Metrics.h:4115
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceMX::MetricsAdmin::begin_...
Definition Metrics.h:3905
IceUtil::Handle< T > TPtr
Definition Metrics.h:3908
CallbackNC_MetricsAdmin_enableMetricsView(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:3914
void(T::* Exception)(const ::Ice::Exception &)
Definition Metrics.h:3910
void(T::* Response)()
Definition Metrics.h:3912
void(T::* Sent)(bool)
Definition Metrics.h:3911
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceMX::MetricsAdmin::begin_...
Definition Metrics.h:4467
CallbackNC_MetricsAdmin_getMapMetricsFailures(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4476
void(T::* Response)(const MetricsFailuresSeq &)
Definition Metrics.h:4474
void(T::* Exception)(const ::Ice::Exception &)
Definition Metrics.h:4472
void(T::* Sent)(bool)
Definition Metrics.h:4473
IceUtil::Handle< T > TPtr
Definition Metrics.h:4470
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceMX::MetricsAdmin::begin_...
Definition Metrics.h:4619
void(T::* Sent)(bool)
Definition Metrics.h:4625
void(T::* Exception)(const ::Ice::Exception &)
Definition Metrics.h:4624
CallbackNC_MetricsAdmin_getMetricsFailures(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4628
void(T::* Response)(const MetricsFailures &)
Definition Metrics.h:4626
IceUtil::Handle< T > TPtr
Definition Metrics.h:4622
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceMX::MetricsAdmin::begin_...
Definition Metrics.h:3751
CallbackNC_MetricsAdmin_getMetricsViewNames(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:3760
void(T::* Exception)(const ::Ice::Exception &)
Definition Metrics.h:3756
void(T::* Sent)(bool)
Definition Metrics.h:3757
void(T::* Response)(const ::Ice::StringSeq &, const ::Ice::StringSeq &)
Definition Metrics.h:3758
IceUtil::Handle< T > TPtr
Definition Metrics.h:3754
Type-safe asynchronous callback wrapper class used for calls to IceProxy::IceMX::MetricsAdmin::begin_...
Definition Metrics.h:4313
IceUtil::Handle< T > TPtr
Definition Metrics.h:4316
CallbackNC_MetricsAdmin_getMetricsView(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4322
void(T::* Exception)(const ::Ice::Exception &)
Definition Metrics.h:4318
void(T::* Sent)(bool)
Definition Metrics.h:4319
void(T::* Response)(const MetricsView &, ::Ice::Long)
Definition Metrics.h:4320
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceMX::MetricsAdmin:...
Definition Metrics.h:1672
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceMX::...
Definition Metrics.h:4209
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Metrics.h:4214
Callback_MetricsAdmin_disableMetricsView(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4218
IceUtil::Handle< T > TPtr
Definition Metrics.h:4212
void(T::* Sent)(bool, const CT &)
Definition Metrics.h:4215
void(T::* Response)(const CT &)
Definition Metrics.h:4216
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceMX::MetricsAdmin:...
Definition Metrics.h:1664
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceMX::...
Definition Metrics.h:4005
IceUtil::Handle< T > TPtr
Definition Metrics.h:4008
Callback_MetricsAdmin_enableMetricsView(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4014
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Metrics.h:4010
void(T::* Response)(const CT &)
Definition Metrics.h:4012
void(T::* Sent)(bool, const CT &)
Definition Metrics.h:4011
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceMX::MetricsAdmin:...
Definition Metrics.h:1688
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceMX::...
Definition Metrics.h:4542
IceUtil::Handle< T > TPtr
Definition Metrics.h:4545
void(T::* Sent)(bool, const CT &)
Definition Metrics.h:4548
Callback_MetricsAdmin_getMapMetricsFailures(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4551
void(T::* Response)(const MetricsFailuresSeq &, const CT &)
Definition Metrics.h:4549
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Metrics.h:4547
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceMX::MetricsAdmin:...
Definition Metrics.h:1696
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceMX::...
Definition Metrics.h:4694
Callback_MetricsAdmin_getMetricsFailures(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4703
IceUtil::Handle< T > TPtr
Definition Metrics.h:4697
void(T::* Response)(const MetricsFailures &, const CT &)
Definition Metrics.h:4701
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Metrics.h:4699
void(T::* Sent)(bool, const CT &)
Definition Metrics.h:4700
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceMX::MetricsAdmin:...
Definition Metrics.h:1656
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceMX::...
Definition Metrics.h:3827
void(T::* Sent)(bool, const CT &)
Definition Metrics.h:3833
Callback_MetricsAdmin_getMetricsViewNames(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:3836
IceUtil::Handle< T > TPtr
Definition Metrics.h:3830
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Metrics.h:3832
void(T::* Response)(const ::Ice::StringSeq &, const ::Ice::StringSeq &, const CT &)
Definition Metrics.h:3834
Base class for asynchronous callback wrapper classes used for calls to IceProxy::IceMX::MetricsAdmin:...
Definition Metrics.h:1680
Type-safe asynchronous callback wrapper class with cookie support used for calls to IceProxy::IceMX::...
Definition Metrics.h:4389
Callback_MetricsAdmin_getMetricsView(const TPtr &obj, Response cb, Exception excb, Sent sentcb)
Definition Metrics.h:4398
IceUtil::Handle< T > TPtr
Definition Metrics.h:4392
void(T::* Sent)(bool, const CT &)
Definition Metrics.h:4395
void(T::* Exception)(const ::Ice::Exception &, const CT &)
Definition Metrics.h:4394
void(T::* Response)(const MetricsView &, ::Ice::Long, const CT &)
Definition Metrics.h:4396
Provides information on child invocations.
Definition Metrics.h:2998
virtual ~ChildInvocationMetrics()
::Ice::Long size
The size of the invocation.
Definition Metrics.h:3088
ChildInvocationMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long size, ::Ice::Long replySize)
One-shot constructor to initialize all data members.
Definition Metrics.h:3023
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
ChildInvocationMetricsPrx ProxyType
Definition Metrics.h:3001
::Ice::Long replySize
The size of the invocation reply.
Definition Metrics.h:3093
ChildInvocationMetrics()
Default constructor that assigns default values to members as specified in the Slice definition.
Definition Metrics.h:3007
ChildInvocationMetricsPtr PointerType
Definition Metrics.h:3002
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Provides information on invocations that are collocated.
Definition Metrics.h:3117
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
CollocatedMetricsPrx ProxyType
Definition Metrics.h:3120
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
CollocatedMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long size, ::Ice::Long replySize)
One-shot constructor to initialize all data members.
Definition Metrics.h:3139
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual ~CollocatedMetrics()
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
CollocatedMetrics()
Definition Metrics.h:3125
CollocatedMetricsPtr PointerType
Definition Metrics.h:3121
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Provides information on the data sent and received over Ice connections.
Definition Metrics.h:3453
ConnectionMetrics()
Default constructor that assigns default values to members as specified in the Slice definition.
Definition Metrics.h:3462
ConnectionMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long receivedBytes, ::Ice::Long sentBytes)
One-shot constructor to initialize all data members.
Definition Metrics.h:3478
ConnectionMetricsPtr PointerType
Definition Metrics.h:3457
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
::Ice::Long sentBytes
The number of bytes sent by the connection.
Definition Metrics.h:3546
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
ConnectionMetricsPrx ProxyType
Definition Metrics.h:3456
virtual ~ConnectionMetrics()
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
::Ice::Long receivedBytes
The number of bytes received by the connection.
Definition Metrics.h:3542
Provides information on servant dispatch.
Definition Metrics.h:2869
::Ice::Long size
The size of the dispatch.
Definition Metrics.h:2966
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
::Ice::Long replySize
The size of the dispatch reply.
Definition Metrics.h:2971
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
DispatchMetricsPtr PointerType
Definition Metrics.h:2873
::Ice::Int userException
The number of dispatch that failed with a user exception.
Definition Metrics.h:2961
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
DispatchMetrics()
Default constructor that assigns default values to members as specified in the Slice definition.
Definition Metrics.h:2878
DispatchMetricsPrx ProxyType
Definition Metrics.h:2872
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
virtual ~DispatchMetrics()
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
DispatchMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int userException, ::Ice::Long size, ::Ice::Long replySize)
One-shot constructor to initialize all data members.
Definition Metrics.h:2896
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Provide measurements for proxy invocations.
Definition Metrics.h:3319
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual ~InvocationMetrics()
::Ice::Int userException
The number of invocations that failed with a user exception.
Definition Metrics.h:3419
::IceMX::MetricsMap collocated
The collocated invocation metrics map.
Definition Metrics.h:3429
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
InvocationMetrics()
Default constructor that assigns default values to members as specified in the Slice definition.
Definition Metrics.h:3328
::IceMX::MetricsMap remotes
The remote invocation metrics map.
Definition Metrics.h:3424
::Ice::Int retry
The number of retries for the invocation(s).
Definition Metrics.h:3415
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
InvocationMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int retry, ::Ice::Int userException, const ::IceMX::MetricsMap &remotes, const ::IceMX::MetricsMap &collocated)
One-shot constructor to initialize all data members.
Definition Metrics.h:3346
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
InvocationMetricsPrx ProxyType
Definition Metrics.h:3322
InvocationMetricsPtr PointerType
Definition Metrics.h:3323
The metrics administrative facet interface.
Definition Metrics.h:2586
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual void disableMetricsView(const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Disable a metrics view.
MetricsAdminPrx ProxyType
Definition Metrics.h:2589
MetricsAdminPtr PointerType
Definition Metrics.h:2590
virtual::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq &disabledViews, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Get the names of enabled and disabled metrics.
virtual MetricsView getMetricsView(const ::std::string &view, ::Ice::Long ×tamp, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Get the metrics objects for the given metrics view.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual MetricsFailuresSeq getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Get the metrics failures associated with the given view and map.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual MetricsFailures getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Get the metrics failure associated for the given metrics.
virtual void enableMetricsView(const ::std::string &name, const ::Ice::Current ¤t=::Ice::emptyCurrent)=0
Enables a metrics view.
The base class for metrics.
Definition Metrics.h:2449
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
Metrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures)
One-shot constructor to initialize all data members.
Definition Metrics.h:2474
MetricsPrx ProxyType
Definition Metrics.h:2452
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
::Ice::Int current
The number of objects currently observed by this metrics.
Definition Metrics.h:2550
::Ice::Long totalLifetime
The sum of the lifetime of each observed objects.
Definition Metrics.h:2556
::std::string id
The metrics identifier.
Definition Metrics.h:2540
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
Metrics()
Default constructor that assigns default values to members as specified in the Slice definition.
Definition Metrics.h:2458
MetricsPtr PointerType
Definition Metrics.h:2453
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
::Ice::Int failures
The number of failures observed.
Definition Metrics.h:2560
::Ice::Long total
The total number of objects observed by this metrics.
Definition Metrics.h:2546
Provides information on invocations that are specifically sent over Ice connections.
Definition Metrics.h:3218
RemoteMetricsPrx ProxyType
Definition Metrics.h:3221
RemoteMetrics()
Definition Metrics.h:3226
RemoteMetricsPtr PointerType
Definition Metrics.h:3222
RemoteMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Long size, ::Ice::Long replySize)
One-shot constructor to initialize all data members.
Definition Metrics.h:3240
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
Provides information on the number of threads currently in use and their activity.
Definition Metrics.h:2741
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
virtual const ::std::string & ice_id(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a Slice type ID representing the most-derived interface supported by this object.
ThreadMetricsPtr PointerType
Definition Metrics.h:2745
::Ice::Int inUseForUser
The number of threads which are currently calling user code (servant dispatch, AMI callbacks,...
Definition Metrics.h:2839
::Ice::ValueFactoryPtr ice_factory()
Obtains a value factory that instantiates this class.
::Ice::Int inUseForIO
The number of threads which are currently performing socket read or writes.
Definition Metrics.h:2834
virtual bool ice_isA(const ::std::string &id, const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Determines whether this object supports an interface with the given Slice type ID.
ThreadMetrics(const ::std::string &id, ::Ice::Long total, ::Ice::Int current, ::Ice::Long totalLifetime, ::Ice::Int failures, ::Ice::Int inUseForIO, ::Ice::Int inUseForUser, ::Ice::Int inUseForOther)
One-shot constructor to initialize all data members.
Definition Metrics.h:2768
ThreadMetrics()
Default constructor that assigns default values to members as specified in the Slice definition.
Definition Metrics.h:2750
ThreadMetricsPrx ProxyType
Definition Metrics.h:2744
virtual::Ice::ObjectPtr ice_clone() const
Polymorphically clones this object.
virtual ::std::vector< ::std::string > ice_ids(const ::Ice::Current ¤t=::Ice::emptyCurrent) const
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
::Ice::Int inUseForOther
The number of threads which are currently performing other activities.
Definition Metrics.h:2846
Raised if a metrics view cannot be found.
Definition Metrics.h:1607
virtual void ice_throw() const
Throws this exception.
UnknownMetricsView()
Definition Metrics.h:1610
virtual::std::string ice_id() const
Obtains the Slice type ID of this exception.
virtual UnknownMetricsView * ice_clone() const
Polymorphically clones this exception.
virtual ~UnknownMetricsView()
Definition Metrics.h:2352
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:2369
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:2420
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:2335
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:2403
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:1725
::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string &name, const ::IceMX::Callback_MetricsAdmin_disableMetricsViewPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Disable a metrics view.
Definition Metrics.h:1955
::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::Ice::Context &context, const ::IceMX::Callback_MetricsAdmin_getMapMetricsFailuresPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failures associated with the given view and map.
Definition Metrics.h:2183
::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string &view, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the metrics objects for the given metrics view.
Definition Metrics.h:2016
void disableMetricsView(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
Disable a metrics view.
Definition Metrics.h:1907
::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failures associated with the given view and map.
Definition Metrics.h:2156
::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::Context &context=::Ice::noExplicitContext)
Get the names of enabled and disabled metrics.
Definition Metrics.h:1744
::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string &name, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Enables a metrics view.
Definition Metrics.h:1843
::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the metrics failure associated for the given metrics.
Definition Metrics.h:2226
::IceMX::MetricsView getMetricsView(const ::std::string &view, ::Ice::Long ×tamp, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the metrics objects for the given metrics view.
Definition Metrics.h:2001
::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the names of enabled and disabled metrics.
Definition Metrics.h:1767
::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string &name, const ::IceMX::Callback_MetricsAdmin_enableMetricsViewPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Enables a metrics view.
Definition Metrics.h:1868
::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
Disable a metrics view.
Definition Metrics.h:1918
::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::IceMX::Callback_MetricsAdmin_getMetricsViewNamesPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the names of enabled and disabled metrics.
Definition Metrics.h:1778
::IceMX::MetricsView end_getMetricsView(::Ice::Long ×tamp, const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getMetricsView.
::IceMX::MetricsFailures end_getMetricsFailures(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getMetricsFailures.
::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::Context &context, const ::IceMX::Callback_MetricsAdmin_getMetricsViewNamesPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the names of enabled and disabled metrics.
Definition Metrics.h:1790
void end_enableMetricsView(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_enableMetricsView.
::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failures associated with the given view and map.
Definition Metrics.h:2142
::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string &name, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Disable a metrics view.
Definition Metrics.h:1943
::IceMX::MetricsFailuresSeq end_getMapMetricsFailures(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getMapMetricsFailures.
::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string &name, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Enables a metrics view.
Definition Metrics.h:1856
::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::IceMX::Callback_MetricsAdmin_getMapMetricsFailuresPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failures associated with the given view and map.
Definition Metrics.h:2169
::Ice::AsyncResultPtr begin_getMetricsViewNames(const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the names of enabled and disabled metrics.
Definition Metrics.h:1755
void enableMetricsView(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
Enables a metrics view.
Definition Metrics.h:1820
::Ice::AsyncResultPtr begin_getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the metrics failures associated with the given view and map.
Definition Metrics.h:2129
::IceMX::MetricsFailures getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the metrics failure associated for the given metrics.
Definition Metrics.h:2213
void end_disableMetricsView(const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_disableMetricsView.
::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string &name, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Disable a metrics view.
Definition Metrics.h:1930
::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failure associated for the given metrics.
Definition Metrics.h:2255
::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::Ice::Context &context, const ::IceMX::Callback_MetricsAdmin_getMetricsFailuresPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failure associated for the given metrics.
Definition Metrics.h:2284
::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string &view, const ::IceMX::Callback_MetricsAdmin_getMetricsViewPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics objects for the given metrics view.
Definition Metrics.h:2065
::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::IceMX::Callback_MetricsAdmin_getMetricsFailuresPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failure associated for the given metrics.
Definition Metrics.h:2269
::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string &view, const ::Ice::Context &context, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics objects for the given metrics view.
Definition Metrics.h:2049
::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string &view, const ::Ice::Context &context, const ::IceMX::Callback_MetricsAdmin_getMetricsViewPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics objects for the given metrics view.
Definition Metrics.h:2082
::Ice::StringSeq end_getMetricsViewNames(::Ice::StringSeq &disabledViews, const ::Ice::AsyncResultPtr &result)
Completes an invocation of begin_getMetricsViewNames.
::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string &name, const ::Ice::Context &context, const ::IceMX::Callback_MetricsAdmin_enableMetricsViewPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Enables a metrics view.
Definition Metrics.h:1881
::Ice::AsyncResultPtr begin_getMetricsFailures(const ::std::string &view, const ::std::string &map, const ::std::string &id, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics failure associated for the given metrics.
Definition Metrics.h:2240
::Ice::AsyncResultPtr begin_disableMetricsView(const ::std::string &name, const ::Ice::Context &context, const ::IceMX::Callback_MetricsAdmin_disableMetricsViewPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Disable a metrics view.
Definition Metrics.h:1968
::Ice::StringSeq getMetricsViewNames(::Ice::StringSeq &disabledViews, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the names of enabled and disabled metrics.
Definition Metrics.h:1734
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this interface.
::IceMX::MetricsFailuresSeq getMapMetricsFailures(const ::std::string &view, const ::std::string &map, const ::Ice::Context &context=::Ice::noExplicitContext)
Get the metrics failures associated with the given view and map.
Definition Metrics.h:2117
::Ice::AsyncResultPtr begin_enableMetricsView(const ::std::string &name, const ::Ice::Context &context=::Ice::noExplicitContext)
Enables a metrics view.
Definition Metrics.h:1831
::Ice::AsyncResultPtr begin_getMetricsView(const ::std::string &view, const ::Ice::CallbackPtr &cb, const ::Ice::LocalObjectPtr &cookie=0)
Get the metrics objects for the given metrics view.
Definition Metrics.h:2032
Definition Metrics.h:1708
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:2386
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
Definition Metrics.h:2318
static const ::std::string & ice_staticId()
Obtains the Slice type ID corresponding to this class.
T * get() const
Definition Handle.h:25
Shared & operator=(const Shared &)
Definition Shared.h:94
The base class for servants.
Definition Object.h:193
Interface for output streams used to create a sequence of bytes from Slice types.
Definition OutputStream.h:28
Helper template that supplies proxy factory functions.
Definition Proxy.h:2904
Base class for all Ice user exceptions.
Definition Exception.h:68
DispatchMetricsPrx DispatchMetricsPrxPtr
Definition Metrics.h:1495
::IceInternal::ProxyHandle< ::IceProxy::IceMX::InvocationMetrics > InvocationMetricsPrx
Definition Metrics.h:1538
InvocationMetricsPrx InvocationMetricsPrxPtr
Definition Metrics.h:1539
::IceInternal::ProxyHandle< ::IceProxy::IceMX::MetricsAdmin > MetricsAdminPrx
Definition Metrics.h:1472
Callback_MetricsAdmin_disableMetricsViewPtr newCallback_MetricsAdmin_disableMetricsView(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Metrics.h:4157
::IceInternal::ProxyHandle< ::IceProxy::IceMX::ConnectionMetrics > ConnectionMetricsPrx
Definition Metrics.h:1549
::IceInternal::ProxyHandle< ::IceProxy::IceMX::CollocatedMetrics > CollocatedMetricsPrx
Definition Metrics.h:1516
Callback_MetricsAdmin_getMetricsViewNamesPtr newCallback_MetricsAdmin_getMetricsViewNames(const IceUtil::Handle< T > &instance, void(T::*cb)(const ::Ice::StringSeq &, const ::Ice::StringSeq &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Metrics.h:3801
::IceUtil::Handle< Callback_MetricsAdmin_disableMetricsView_Base > Callback_MetricsAdmin_disableMetricsViewPtr
Definition Metrics.h:1673
::IceUtil::Handle< Callback_MetricsAdmin_getMetricsViewNames_Base > Callback_MetricsAdmin_getMetricsViewNamesPtr
Definition Metrics.h:1657
::IceInternal::Handle< RemoteMetrics > RemoteMetricsPtr
Definition Metrics.h:1526
::IceInternal::Handle< DispatchMetrics > DispatchMetricsPtr
Definition Metrics.h:1493
::std::vector< MetricsPtr > MetricsMap
A metrics map is a sequence of metrics.
Definition Metrics.h:1594
::IceUtil::Handle< Callback_MetricsAdmin_getMapMetricsFailures_Base > Callback_MetricsAdmin_getMapMetricsFailuresPtr
Definition Metrics.h:1689
::std::vector< MetricsFailures > MetricsFailuresSeq
A sequence of MetricsFailures.
Definition Metrics.h:1586
::IceInternal::ProxyHandle< ::IceProxy::IceMX::ThreadMetrics > ThreadMetricsPrx
Definition Metrics.h:1483
::IceUtil::Handle< Callback_MetricsAdmin_getMetricsView_Base > Callback_MetricsAdmin_getMetricsViewPtr
Definition Metrics.h:1681
::IceInternal::ProxyHandle< ::IceProxy::IceMX::Metrics > MetricsPrx
Definition Metrics.h:1461
::IceInternal::Handle< InvocationMetrics > InvocationMetricsPtr
Definition Metrics.h:1537
::IceInternal::Handle< CollocatedMetrics > CollocatedMetricsPtr
Definition Metrics.h:1515
ChildInvocationMetricsPrx ChildInvocationMetricsPrxPtr
Definition Metrics.h:1506
ThreadMetricsPrx ThreadMetricsPrxPtr
Definition Metrics.h:1484
::IceInternal::Handle< MetricsAdmin > MetricsAdminPtr
Definition Metrics.h:1471
::IceUtil::Handle< Callback_MetricsAdmin_enableMetricsView_Base > Callback_MetricsAdmin_enableMetricsViewPtr
Definition Metrics.h:1665
Callback_MetricsAdmin_getMapMetricsFailuresPtr newCallback_MetricsAdmin_getMapMetricsFailures(const IceUtil::Handle< T > &instance, void(T::*cb)(const MetricsFailuresSeq &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Metrics.h:4516
ConnectionMetricsPrx ConnectionMetricsPrxPtr
Definition Metrics.h:1550
::std::map< ::std::string, ::Ice::Int > StringIntDict
A dictionary of strings to integers.
Definition Metrics.h:1563
::IceInternal::Handle< ChildInvocationMetrics > ChildInvocationMetricsPtr
Definition Metrics.h:1504
::IceInternal::Handle< Metrics > MetricsPtr
Definition Metrics.h:1460
CollocatedMetricsPrx CollocatedMetricsPrxPtr
Definition Metrics.h:1517
::IceInternal::Handle< ThreadMetrics > ThreadMetricsPtr
Definition Metrics.h:1482
::IceUtil::Handle< Callback_MetricsAdmin_getMetricsFailures_Base > Callback_MetricsAdmin_getMetricsFailuresPtr
Definition Metrics.h:1697
::IceInternal::ProxyHandle< ::IceProxy::IceMX::DispatchMetrics > DispatchMetricsPrx
Definition Metrics.h:1494
::IceInternal::ProxyHandle< ::IceProxy::IceMX::RemoteMetrics > RemoteMetricsPrx
Definition Metrics.h:1527
Callback_MetricsAdmin_enableMetricsViewPtr newCallback_MetricsAdmin_enableMetricsView(const IceUtil::Handle< T > &instance, void(T::*cb)(), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Metrics.h:3953
MetricsPrx MetricsPrxPtr
Definition Metrics.h:1462
::IceInternal::Handle< ConnectionMetrics > ConnectionMetricsPtr
Definition Metrics.h:1548
MetricsAdminPrx MetricsAdminPrxPtr
Definition Metrics.h:1473
::IceInternal::ProxyHandle< ::IceProxy::IceMX::ChildInvocationMetrics > ChildInvocationMetricsPrx
Definition Metrics.h:1505
Callback_MetricsAdmin_getMetricsFailuresPtr newCallback_MetricsAdmin_getMetricsFailures(const IceUtil::Handle< T > &instance, void(T::*cb)(const MetricsFailures &), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Metrics.h:4668
Callback_MetricsAdmin_getMetricsViewPtr newCallback_MetricsAdmin_getMetricsView(const IceUtil::Handle< T > &instance, void(T::*cb)(const MetricsView &, ::Ice::Long), void(T::*excb)(const ::Ice::Exception &), void(T::*sentcb)(bool)=0)
Creates a callback wrapper instance that delegates to your object.
Definition Metrics.h:4363
RemoteMetricsPrx RemoteMetricsPrxPtr
Definition Metrics.h:1528
::std::map< ::std::string, MetricsMap > MetricsView
A metrics view is a dictionary of metrics map.
Definition Metrics.h:1600
Definition BuiltinSequences.h:113
::std::vector< ::std::string > StringSeq
A sequence of strings.
Definition BuiltinSequences.h:153
const Context noExplicitContext
Marker value used to indicate that no explicit context was passed to a proxy invocation.
Definition ProxyHandle.h:51
int Int
The mapping for the Slice int type.
Definition Config.h:54
IceUtil::Int64 Long
The mapping for the Slice long type.
Definition Config.h:60
const Current emptyCurrent
A default-initialized Current instance.
IceInternal::Handle< AsyncResult > AsyncResultPtr
Definition AsyncResultF.h:18
IceUtil::Shared * upCast(::Ice::AsyncResult *)
A structure to keep track of failures associated with a given metrics.
Definition Metrics.h:1571
::IceMX::StringIntDict failures
The failures observed for this metrics.
Definition Metrics.h:1580
::std::string id
The identifier of the metrics object associated to the failures.
Definition Metrics.h:1576