|
GRPC Core
9.0.0
|
#include <xds_client_stats.h>
Data Structures | |
| class | LoadMetric |
| struct | Snapshot |
Public Types | |
| using | LoadMetricMap = std::map< grpc_core::UniquePtr< char >, LoadMetric, StringLess > |
| using | LoadMetricSnapshotMap = std::map< grpc_core::UniquePtr< char >, LoadMetric::Snapshot, StringLess > |
Public Member Functions | |
| Snapshot | GetSnapshotAndReset () |
| void | RefByPicker () |
| void | UnrefByPicker () |
| bool | IsSafeToDelete () |
| void | AddCallStarted () |
| void | AddCallFinished (bool fail=false) |
Public Member Functions inherited from grpc_core::RefCounted< LocalityStats > | |
| ~RefCounted ()=default | |
| RefCountedPtr< LocalityStats > | Ref () GRPC_MUST_USE_RESULT |
| RefCountedPtr< LocalityStats > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
| void | Unref () |
| void | Unref (const DebugLocation &location, const char *reason) |
| bool | RefIfNonZero () |
| bool | RefIfNonZero (const DebugLocation &location, const char *reason) |
| RefCounted (const RefCounted &)=delete | |
| RefCounted & | operator= (const RefCounted &)=delete |
Public Member Functions inherited from grpc_core::PolymorphicRefCount | |
| virtual | ~PolymorphicRefCount ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from grpc_core::RefCounted< LocalityStats > | |
| RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1) | |
| using grpc_core::XdsClientStats::LocalityStats::LoadMetricMap = std::map<grpc_core::UniquePtr<char>, LoadMetric, StringLess> |
| using grpc_core::XdsClientStats::LocalityStats::LoadMetricSnapshotMap = std::map<grpc_core::UniquePtr<char>, LoadMetric::Snapshot, StringLess> |
| void grpc_core::XdsClientStats::LocalityStats::AddCallFinished | ( | bool | fail = false | ) |
| void grpc_core::XdsClientStats::LocalityStats::AddCallStarted | ( | ) |
| XdsClientStats::LocalityStats::Snapshot grpc_core::XdsClientStats::LocalityStats::GetSnapshotAndReset | ( | ) |
|
inline |
|
inline |
|
inline |