Ice 3.7 C++11 API Reference
|
The metrics administrative facet interface. More...
#include <Ice/Ice.h>
Classes | |
struct | GetMetricsViewNamesResult |
Encapsulates the results of a call to getMetricsViewNames. More... | |
struct | GetMetricsViewResult |
Encapsulates the results of a call to getMetricsView. More... | |
Public Types | |
using | ProxyType = MetricsAdminPrx |
Public Member Functions | |
virtual void | disableMetricsView (::std::string name, const ::Ice::Current ¤t)=0 |
Disable a metrics view. More... | |
virtual void | enableMetricsView (::std::string name, const ::Ice::Current ¤t)=0 |
Enables a metrics view. More... | |
virtual MetricsFailuresSeq | getMapMetricsFailures (::std::string view, ::std::string map, const ::Ice::Current ¤t)=0 |
Get the metrics failures associated with the given view and map. More... | |
virtual MetricsFailures | getMetricsFailures (::std::string view, ::std::string map, ::std::string id, const ::Ice::Current ¤t)=0 |
Get the metrics failure associated for the given metrics. More... | |
virtual MetricsView | getMetricsView (::std::string view, long long int ×tamp, const ::Ice::Current ¤t)=0 |
Get the metrics objects for the given metrics view. More... | |
virtual ::Ice::StringSeq | getMetricsViewNames (::Ice::StringSeq &disabledViews, const ::Ice::Current ¤t)=0 |
Get the names of enabled and disabled metrics. More... | |
virtual ::std::string | ice_id (const ::Ice::Current ¤t) const override |
Obtains a Slice type ID representing the most-derived interface supported by this object. More... | |
virtual ::std::vector<::std::string > | ice_ids (const ::Ice::Current ¤t) const override |
Obtains a list of the Slice type IDs representing the interfaces supported by this object. More... | |
virtual bool | ice_isA (::std::string id, const ::Ice::Current ¤t) const override |
Determines whether this object supports an interface with the given Slice type ID. More... | |
Public Member Functions inherited from Ice::Object | |
virtual bool | ice_dispatch (Ice::Request &request, std::function< bool()> response=nullptr, std::function< bool(std::exception_ptr)> error=nullptr) |
Dispatches an invocation to a servant. More... | |
virtual std::string | ice_id (const Current ¤t) const |
Returns the Slice type ID of the most-derived interface supported by this object. More... | |
virtual std::vector< std::string > | ice_ids (const Current ¤t) const |
Returns the Slice type IDs of the interfaces supported by this object. More... | |
virtual bool | ice_isA (std::string s, const Current ¤t) const |
Tests whether this object supports a specific Slice interface. More... | |
virtual void | ice_ping (const Current ¤t) const |
Tests whether this object can be reached. More... | |
virtual | ~Object ()=default |
Static Public Member Functions | |
static const ::std::string & | ice_staticId () |
Obtains the Slice type ID corresponding to this class. More... | |
Static Public Member Functions inherited from Ice::Object | |
static const std::string & | ice_staticId () |
Obtains the Slice type ID of this type. More... | |
The metrics administrative facet interface.
This interface allows remote administrative clients to access metrics of an application that enabled the Ice administrative facility and configured some metrics views.
|
pure virtual |
Disable a metrics view.
name | The metrics view name. |
current | The Current object for the invocation. |
IceMX::UnknownMetricsView | Raised if the metrics view cannot be found. |
|
pure virtual |
Enables a metrics view.
name | The metrics view name. |
current | The Current object for the invocation. |
IceMX::UnknownMetricsView | Raised if the metrics view cannot be found. |
|
pure virtual |
Get the metrics failures associated with the given view and map.
view | The name of the metrics view. |
map | The name of the metrics map. |
current | The Current object for the invocation. |
IceMX::UnknownMetricsView | Raised if the metrics view cannot be found. |
|
pure virtual |
Get the metrics failure associated for the given metrics.
view | The name of the metrics view. |
map | The name of the metrics map. |
id | The ID of the metrics. |
current | The Current object for the invocation. |
IceMX::UnknownMetricsView | Raised if the metrics view cannot be found. |
|
pure virtual |
Get the metrics objects for the given metrics view.
This returns a dictionnary of metric maps for each metrics class configured with the view. The timestamp allows the client to compute averages which are not dependent of the invocation latency for this operation.
view | The name of the metrics view. |
timestamp | The local time of the process when the metrics object were retrieved. |
current | The Current object for the invocation. |
IceMX::UnknownMetricsView | Raised if the metrics view cannot be found. |
|
pure virtual |
Get the names of enabled and disabled metrics.
disabledViews | The names of the disabled views. |
current | The Current object for the invocation. |
|
override |
Obtains a Slice type ID representing the most-derived interface supported by this object.
current | The Current object for the invocation. |
|
override |
Obtains a list of the Slice type IDs representing the interfaces supported by this object.
current | The Current object for the invocation. |
|
overridevirtual |
Determines whether this object supports an interface with the given Slice type ID.
id | The fully-scoped Slice type ID. |
current | The Current object for the invocation. |
|
static |
Obtains the Slice type ID corresponding to this class.