Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceMX::AsyncMetricsAdmin Class Referenceabstract

The metrics administrative facet interface. More...

#include <Ice/Ice.h>

Inheritance diagram for IceMX::AsyncMetricsAdmin:

Public Types

using ProxyType = MetricsAdminPrx
 The associated proxy type.

Public Member Functions

virtual void disableMetricsViewAsync (std::string name, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Disables a metrics view.
void dispatch (Ice::IncomingRequest &request, std::function< void(Ice::OutgoingResponse)> sendResponse) override
 Dispatches an incoming request to one of the member functions of this generated class, based on the operation name carried by the request.
virtual void enableMetricsViewAsync (std::string name, std::function< void()> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Enables a metrics view.
virtual void getMapMetricsFailuresAsync (std::string view, std::string map, std::function< void(const MetricsFailuresSeq &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Gets the metrics failures associated with the given view and map.
virtual void getMetricsFailuresAsync (std::string view, std::string map, std::string id, std::function< void(const MetricsFailures &returnValue)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Gets the metrics failure associated for the given metrics.
virtual void getMetricsViewAsync (std::string view, std::function< void(const MetricsView &returnValue, std::int64_t timestamp)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Gets the metrics objects for the given metrics view.
virtual void getMetricsViewNamesAsync (std::function< void(const ::Ice::StringSeq &returnValue, const ::Ice::StringSeq &disabledViews)> response, std::function< void(std::exception_ptr)> exception, const Ice::Current &current)=0
 Gets the names of enabled and disabled metrics.
std::string ice_id (const Ice::Current &current) const override
 Gets the type ID of the most-derived Slice interface supported by this object.
std::vector< std::string > ice_ids (const Ice::Current &current) const override
 Gets the Slice interfaces supported by this object as a list of type IDs.
Public Member Functions inherited from Ice::Object
 Object () noexcept=default
 Default constructor.
 Object (const Object &)=delete
 Object (Object &&)=delete
virtual bool ice_isA (std::string typeId, const Current &current) const
 Tests whether this object supports a specific Slice interface.
virtual void ice_ping (const Current &current) const
 Tests whether this object can be reached.
Objectoperator= (const Object &)=delete
Objectoperator= (Object &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.
Static Public Member Functions inherited from Ice::Object
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice interface.

Detailed Description

The metrics administrative facet interface.

This interface allows remote administrative clients to access the metrics of an application that enabled the Ice administrative facility and configured one or more metrics views.

Definition at line 959 of file Metrics.h.


The documentation for this class was generated from the following file: